Lines 77-83
subtest 'payment_type (_get_valid_payments) tests' => sub {
Link Here
|
77 |
my $cash_register = $builder->build_object( |
77 |
my $cash_register = $builder->build_object( |
78 |
{ |
78 |
{ |
79 |
class => 'Koha::Cash::Registers', |
79 |
class => 'Koha::Cash::Registers', |
80 |
value => { branchcode => $library1->branchcode } |
80 |
value => { branch => $library1->branchcode } |
81 |
} |
81 |
} |
82 |
); |
82 |
); |
83 |
|
83 |
|
Lines 125-131
subtest 'add_item (_get_valid_items) tests' => sub {
Link Here
|
125 |
my $cash_register = $builder->build_object( |
125 |
my $cash_register = $builder->build_object( |
126 |
{ |
126 |
{ |
127 |
class => 'Koha::Cash::Registers', |
127 |
class => 'Koha::Cash::Registers', |
128 |
value => { branchcode => $library1->branchcode } |
128 |
value => { branch => $library1->branchcode } |
129 |
} |
129 |
} |
130 |
); |
130 |
); |
131 |
|
131 |
|
Lines 190-196
subtest 'purchase tests' => sub {
Link Here
|
190 |
my $cash_register = $builder->build_object( |
190 |
my $cash_register = $builder->build_object( |
191 |
{ |
191 |
{ |
192 |
class => 'Koha::Cash::Registers', |
192 |
class => 'Koha::Cash::Registers', |
193 |
value => { branchcode => $library->branchcode } |
193 |
value => { branch => $library->branchcode } |
194 |
} |
194 |
} |
195 |
); |
195 |
); |
196 |
|
196 |
|
197 |
- |
|
|