Lines 373-381
subtest 'Desks' => sub {
Link Here
|
373 |
my $library = $builder->build_object( { class => 'Koha::Libraries' } ); |
373 |
my $library = $builder->build_object( { class => 'Koha::Libraries' } ); |
374 |
|
374 |
|
375 |
my $desk = Koha::Desk->new({ |
375 |
my $desk = Koha::Desk->new({ |
376 |
desk_name => 'my_desk_name_for_test', |
376 |
desk_name => 'my_desk_name_for_test', |
377 |
branchcode => $library->branchcode , |
377 |
branchcode => $library->branchcode , |
378 |
})->store; |
378 |
})->store; |
379 |
ok($desk, "Desk created"); |
379 |
ok($desk, "Desk created"); |
380 |
my $item = $builder->build_sample_item({ library => $library->branchcode }); |
380 |
my $item = $builder->build_sample_item({ library => $library->branchcode }); |
381 |
my $manager = $builder->build_object( { class => "Koha::Patrons" } ); |
381 |
my $manager = $builder->build_object( { class => "Koha::Patrons" } ); |
Lines 386-392
subtest 'Desks' => sub {
Link Here
|
386 |
class => 'Koha::Patrons', |
386 |
class => 'Koha::Patrons', |
387 |
value => { branchcode => $library->branchcode, } |
387 |
value => { branchcode => $library->branchcode, } |
388 |
} |
388 |
} |
389 |
); |
389 |
); |
390 |
|
390 |
|
391 |
my $reserve_id = C4::Reserves::AddReserve( |
391 |
my $reserve_id = C4::Reserves::AddReserve( |
392 |
{ |
392 |
{ |
393 |
- |
|
|