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

(-)a/t/db_dependent/Koha/Checkout.t (+4 lines)
Lines 29-34 my $schema = Koha::Database->new->schema; Link Here
29
29
30
subtest 'overdue_fines' => sub {
30
subtest 'overdue_fines' => sub {
31
    plan tests => 4;
31
    plan tests => 4;
32
    
33
    $schema->storage->txn_begin;
32
34
33
    my $checkout = $builder->build_object(
35
    my $checkout = $builder->build_object(
34
        {
36
        {
Lines 80-85 subtest 'overdue_fines' => sub { Link Here
80
        $overdue->id,
82
        $overdue->id,
81
        'Koha::Checkout->overdue_fines should return the correct overdue_fines'
83
        'Koha::Checkout->overdue_fines should return the correct overdue_fines'
82
    );
84
    );
85
86
    $schema->storage->txn_rollback;
83
};
87
};
84
88
85
subtest 'library() tests' => sub {
89
subtest 'library() tests' => sub {
(-)a/t/db_dependent/Koha/Checkouts.t (-2 / +1 lines)
Lines 328-334 subtest 'automatic_checkin' => sub { Link Here
328
    my $tomorrow  = dt_from_string->add( days => 1 );
328
    my $tomorrow  = dt_from_string->add( days => 1 );
329
    my $yesterday = dt_from_string->subtract( days => 1 );
329
    my $yesterday = dt_from_string->subtract( days => 1 );
330
330
331
    # Checkout do for automatic checkin
331
    # Checkout due for automatic checkin
332
    my $checkout_due_aci = Koha::Checkout->new(
332
    my $checkout_due_aci = Koha::Checkout->new(
333
        {
333
        {
334
            borrowernumber => $patron->borrowernumber,
334
            borrowernumber => $patron->borrowernumber,
335
- 

Return to bug 17976