Bug 19455: Prevent SwitchOnSiteCheckouts.t to fail randomly
If categorycode is 'X', the test will fail Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
1dba61e933
commit
307e55a7de
|
|
@ -50,11 +50,13 @@ my $branch = $builder->build({
|
|||
source => 'Branch',
|
||||
});
|
||||
|
||||
my $patron_category = $builder->build({ source => 'Category', value => { categorycode => 'NOT_X', category_type => 'P', enrolmentfee => 0 } });
|
||||
my $patron = $builder->build({
|
||||
source => 'Borrower',
|
||||
value => {
|
||||
branchcode => $branch->{branchcode},
|
||||
debarred => undef,
|
||||
categorycode => $patron_category->{categorycode},
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue