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:
parent
a1c9799f91
commit
16fcc7a925
1 changed files with 4 additions and 1 deletions
|
@ -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([
|
||||
|
|
Loading…
Reference in a new issue