From 481d34613183300bff31f7f6a66abe8aa893e07a Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 8 Jul 2019 17:41:16 +0100 Subject: [PATCH] Bug 23280: Silence warning Corrects a typo in t/db_dependent/selenium/patrons_search.t introduced by bug 22781. Signed-off-by: Martin Renvoize --- t/db_dependent/selenium/patrons_search.t | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/t/db_dependent/selenium/patrons_search.t b/t/db_dependent/selenium/patrons_search.t index fa5344d721..1d8cd98e48 100644 --- a/t/db_dependent/selenium/patrons_search.t +++ b/t/db_dependent/selenium/patrons_search.t @@ -50,7 +50,11 @@ subtest 'Search patrons' => sub { my $address = q|add'res"s \123 ❤|; my $email = q|abad_email@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 } } ); -- 2.20.1