51 |
C4::Context->set_userenv( 0, 0, 0, 'firstname', 'surname', $library->{branchcode}, 'Midway Public Library', '', '', '' ); |
51 |
C4::Context->set_userenv( 0, 0, 0, 'firstname', 'surname', $library->{branchcode}, 'Midway Public Library', '', '', '' ); |
52 |
is( C4::Context->userenv->{branch}, $library->{branchcode}, 'userenv set' ); |
52 |
is( C4::Context->userenv->{branch}, $library->{branchcode}, 'userenv set' ); |
54 |
my $patron_category = $builder->build({ source => 'Category', value => { category_type => 'NOT_X', category_type => 'P', enrolmentfee => 0 } }); |
54 |
my $patron_category = $builder->build({ source => 'Category', value => { category_type => 'P', enrolmentfee => 0 } }); |