View | Details | Raw Unified | Return to bug 26892
Collapse All | Expand All

(-)a/t/db_dependent/Koha/Patrons.t (-8 / +5 lines)
Lines 566-572 subtest 'checkouts + pending_checkouts + get_overdues + old_checkouts' => sub { Link Here
566
    plan tests => 17;
566
    plan tests => 17;
567
567
568
    my $library = $builder->build( { source => 'Branch' } );
568
    my $library = $builder->build( { source => 'Branch' } );
569
    my ($biblionumber_1) = AddBiblio( MARC::Record->new, '' );
569
    my $biblionumber_1 = $builder->build_sample_biblio->biblionumber;
570
    my $item_1 = $builder->build_sample_item(
570
    my $item_1 = $builder->build_sample_item(
571
        {
571
        {
572
            library      => $library->{branchcode},
572
            library      => $library->{branchcode},
Lines 579-585 subtest 'checkouts + pending_checkouts + get_overdues + old_checkouts' => sub { Link Here
579
            biblionumber => $biblionumber_1,
579
            biblionumber => $biblionumber_1,
580
        }
580
        }
581
    );
581
    );
582
    my ($biblionumber_2) = AddBiblio( MARC::Record->new, '' );
582
    my $biblionumber_2 = $builder->build_sample_biblio->biblionumber;
583
    my $item_3 = $builder->build_sample_item(
583
    my $item_3 = $builder->build_sample_item(
584
        {
584
        {
585
            library      => $library->{branchcode},
585
            library      => $library->{branchcode},
Lines 937-943 subtest 'holds and old_holds' => sub { Link Here
937
    plan tests => 6;
937
    plan tests => 6;
938
938
939
    my $library = $builder->build( { source => 'Branch' } );
939
    my $library = $builder->build( { source => 'Branch' } );
940
    my ($biblionumber_1) = AddBiblio( MARC::Record->new, '' );
940
    my $biblionumber_1 = $builder->build_sample_biblio->biblionumber;
941
    my $item_1 = $builder->build_sample_item(
941
    my $item_1 = $builder->build_sample_item(
942
        {
942
        {
943
            library      => $library->{branchcode},
943
            library      => $library->{branchcode},
Lines 950-956 subtest 'holds and old_holds' => sub { Link Here
950
            biblionumber => $biblionumber_1,
950
            biblionumber => $biblionumber_1,
951
        }
951
        }
952
    );
952
    );
953
    my ($biblionumber_2) = AddBiblio( MARC::Record->new, '' );
953
    my $biblionumber_2 = $builder->build_sample_biblio->biblionumber;
954
    my $item_3 = $builder->build_sample_item(
954
    my $item_3 = $builder->build_sample_item(
955
        {
955
        {
956
            library      => $library->{branchcode},
956
            library      => $library->{branchcode},
Lines 1394-1400 subtest 'get_overdues' => sub { Link Here
1394
    plan tests => 7;
1394
    plan tests => 7;
1395
1395
1396
    my $library = $builder->build( { source => 'Branch' } );
1396
    my $library = $builder->build( { source => 'Branch' } );
1397
    my ($biblionumber_1) = AddBiblio( MARC::Record->new, '' );
1397
    my $biblionumber_1 = $builder->build_sample_biblio->biblionumber;
1398
    my $item_1 = $builder->build_sample_item(
1398
    my $item_1 = $builder->build_sample_item(
1399
        {
1399
        {
1400
            library      => $library->{branchcode},
1400
            library      => $library->{branchcode},
Lines 1407-1417 subtest 'get_overdues' => sub { Link Here
1407
            biblionumber => $biblionumber_1,
1407
            biblionumber => $biblionumber_1,
1408
        }
1408
        }
1409
    );
1409
    );
1410
    my ($biblionumber_2) = AddBiblio( MARC::Record->new, '' );
1411
    my $item_3 = $builder->build_sample_item(
1410
    my $item_3 = $builder->build_sample_item(
1412
        {
1411
        {
1413
            library      => $library->{branchcode},
1412
            library      => $library->{branchcode},
1414
            biblionumber => $biblionumber_2,
1415
        }
1413
        }
1416
    );
1414
    );
1417
1415
1418
- 

Return to bug 26892