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

(-)a/t/db_dependent/Circulation.t (-22 lines)
Lines 1216-1225 subtest 'CanBookBeIssued & AllowReturnToBranch' => sub { Link Here
1216
            value  => {
1216
            value  => {
1217
                homebranch    => $homebranch->{branchcode},
1217
                homebranch    => $homebranch->{branchcode},
1218
                holdingbranch => $holdingbranch->{branchcode},
1218
                holdingbranch => $holdingbranch->{branchcode},
1219
                notforloan    => 0,
1220
                itemlost      => 0,
1221
                withdrawn     => 0,
1222
                restricted    => 0,
1223
                biblionumber  => $biblioitem->{biblionumber}
1219
                biblionumber  => $biblioitem->{biblionumber}
1224
            }
1220
            }
1225
        }
1221
        }
Lines 1381-1390 subtest 'CanBookBeIssued + Koha::Patron->is_debarred|has_overdues' => sub { Link Here
1381
            value  => {
1377
            value  => {
1382
                homebranch    => $library->{branchcode},
1378
                homebranch    => $library->{branchcode},
1383
                holdingbranch => $library->{branchcode},
1379
                holdingbranch => $library->{branchcode},
1384
                notforloan    => 0,
1385
                itemlost      => 0,
1386
                withdrawn     => 0,
1387
                restricted    => 0,
1388
                biblionumber  => $biblioitem_1->{biblionumber}
1380
                biblionumber  => $biblioitem_1->{biblionumber}
1389
            }
1381
            }
1390
        }
1382
        }
Lines 1395-1404 subtest 'CanBookBeIssued + Koha::Patron->is_debarred|has_overdues' => sub { Link Here
1395
            value  => {
1387
            value  => {
1396
                homebranch    => $library->{branchcode},
1388
                homebranch    => $library->{branchcode},
1397
                holdingbranch => $library->{branchcode},
1389
                holdingbranch => $library->{branchcode},
1398
                notforloan    => 0,
1399
                itemlost      => 0,
1400
                withdrawn     => 0,
1401
                restricted    => 0,
1402
                biblionumber  => $biblioitem_2->{biblionumber}
1390
                biblionumber  => $biblioitem_2->{biblionumber}
1403
            }
1391
            }
1404
        }
1392
        }
Lines 1462-1471 subtest 'CanBookBeIssued + Statistic patrons "X"' => sub { Link Here
1462
            value  => {
1450
            value  => {
1463
                homebranch    => $library->branchcode,
1451
                homebranch    => $library->branchcode,
1464
                holdingbranch => $library->branchcode,
1452
                holdingbranch => $library->branchcode,
1465
                notforloan    => 0,
1466
                itemlost      => 0,
1467
                withdrawn     => 0,
1468
                restricted    => 0,
1469
                biblionumber  => $biblioitem_1->{biblionumber}
1453
                biblionumber  => $biblioitem_1->{biblionumber}
1470
            }
1454
            }
1471
        }
1455
        }
Lines 1592-1600 subtest 'CanBookBeIssued + AllowMultipleIssuesOnABiblio' => sub { Link Here
1592
            value  => {
1576
            value  => {
1593
                homebranch    => $library->{branchcode},
1577
                homebranch    => $library->{branchcode},
1594
                holdingbranch => $library->{branchcode},
1578
                holdingbranch => $library->{branchcode},
1595
                notforloan    => 0,
1596
                itemlost      => 0,
1597
                withdrawn     => 0,
1598
                biblionumber  => $biblionumber,
1579
                biblionumber  => $biblionumber,
1599
            }
1580
            }
1600
        }
1581
        }
Lines 1604-1612 subtest 'CanBookBeIssued + AllowMultipleIssuesOnABiblio' => sub { Link Here
1604
            value  => {
1585
            value  => {
1605
                homebranch    => $library->{branchcode},
1586
                homebranch    => $library->{branchcode},
1606
                holdingbranch => $library->{branchcode},
1587
                holdingbranch => $library->{branchcode},
1607
                notforloan    => 0,
1608
                itemlost      => 0,
1609
                withdrawn     => 0,
1610
                biblionumber  => $biblionumber,
1588
                biblionumber  => $biblionumber,
1611
            }
1589
            }
1612
        }
1590
        }
(-)a/t/lib/TestBuilder.pm (-1 / +4 lines)
Lines 471-476 sub _gen_default_values { Link Here
471
            borrowernotes  => '',
471
            borrowernotes  => '',
472
        },
472
        },
473
        Item => {
473
        Item => {
474
            notforloan         => 0,
475
            itemlost           => 0,
476
            withdrawn          => 0,
477
            restricted         => 0,
474
            more_subfields_xml => undef,
478
            more_subfields_xml => undef,
475
        },
479
        },
476
        Category => {
480
        Category => {
477
- 

Return to bug 20721