Bug 34517: (follow-up) Mark test attribute as searched_by_default

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Nick Clemens 2023-11-13 12:48:06 +00:00 committed by Jonathan Druart
parent a1c9799f91
commit 16fcc7a925

View file

@ -140,6 +140,8 @@ subtest 'Search patrons' => sub {
{
code => 'my code1',
description => 'my description1',
staff_searchable => 0,
searched_by_default => 0
}
)->store;
my $attribute_type_searchable = Koha::Patron::Attribute::Type->new(
@ -147,7 +149,8 @@ subtest 'Search patrons' => sub {
code => 'my code2',
description => 'my description2',
opac_display => 1,
staff_searchable => 1
staff_searchable => 1,
searched_by_default => 1
}
)->store;
$patrons[0]->extended_attributes([