Bug 23280: Silence warning
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 8 Jul 2019 16:41:16 +0000 (17:41 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 8 Jul 2019 16:42:11 +0000 (17:42 +0100)
Corrects a typo in t/db_dependent/selenium/patrons_search.t introduced
by bug 22781.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

t/db_dependent/selenium/patrons_search.t

index fa5344d..1d8cd98 100644 (file)
@@ -50,7 +50,11 @@ subtest 'Search patrons' => sub {
     my $address    = q|<strong>add'res"s</strong> \123 ❤|;
     my $email      = q|a<strong>bad_email</strong>@example\123 ❤.com|;
     my $patron_category = $builder->build_object(
-        { class => 'Koha::Patron::Categories', category_type => 'A' } );
+        {
+            class => 'Koha::Patron::Categories',
+            value => { category_type => 'A' }
+        }
+    );
     my $library = $builder->build_object(
         { class => 'Koha::Libraries', value => { branchname => $branchname } }
     );