Lines 41-47
subtest 'add' => sub {
Link Here
|
41 |
$schema->storage->txn_begin; |
41 |
$schema->storage->txn_begin; |
42 |
|
42 |
|
43 |
my $club = $builder->build_object({ class => 'Koha::Clubs' }); |
43 |
my $club = $builder->build_object({ class => 'Koha::Clubs' }); |
44 |
my $library = $builder->build_object({ class => 'Koha::Libraries' }); |
44 |
my $library = $builder->build_object({ class => 'Koha::Libraries', value => { pickup_location => 1 } }); |
45 |
my $item1 = $builder->build_sample_item({ library => $library->branchcode }); |
45 |
my $item1 = $builder->build_sample_item({ library => $library->branchcode }); |
46 |
my $item2 = $builder->build_sample_item({ library => $library->branchcode }); |
46 |
my $item2 = $builder->build_sample_item({ library => $library->branchcode }); |
47 |
|
47 |
|
48 |
- |
|
|