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

(-)a/t/db_dependent/Circulation/Branch.t (-4 / +4 lines)
Lines 65-85 my $samplebranch2 = $builder->build({ source => 'Branch' }); Link Here
65
# Add itemtypes
65
# Add itemtypes
66
my $no_circ_itemtype = $builder->build({
66
my $no_circ_itemtype = $builder->build({
67
    source => 'Itemtype',
67
    source => 'Itemtype',
68
    values => {
68
    value => {
69
        rentalcharge => '0',
69
        rentalcharge => '0',
70
        notforloan   => 0
70
        notforloan   => 0
71
    }
71
    }
72
});
72
});
73
my $sampleitemtype1 = $builder->build({
73
my $sampleitemtype1 = $builder->build({
74
    source => 'Itemtype',
74
    source => 'Itemtype',
75
    values => {
75
    value => {
76
        rentalcharge => '10.0',
76
        rentalcharge => '10.0',
77
        notforloan   => 1
77
        notforloan   => 1
78
    }
78
    }
79
});
79
});
80
my $sampleitemtype2 = $builder->build({
80
my $sampleitemtype2 = $builder->build({
81
    source => 'Itemtype',
81
    source => 'Itemtype',
82
    values => {
82
    value => {
83
        rentalcharge => '5.0',
83
        rentalcharge => '5.0',
84
        notforloan   => 0
84
        notforloan   => 0
85
    }
85
    }
Lines 87-93 my $sampleitemtype2 = $builder->build({ Link Here
87
# Add Category
87
# Add Category
88
my $samplecat     = $builder->build({
88
my $samplecat     = $builder->build({
89
    source => 'Category',
89
    source => 'Category',
90
    values => {
90
    value => {
91
        hidelostitems => 0
91
        hidelostitems => 0
92
    }
92
    }
93
});
93
});
(-)a/t/db_dependent/Koha/Patron/Messages.t (-2 / +1 lines)
Lines 36-42 $schema->storage->txn_begin; Link Here
36
36
37
my $builder        = t::lib::TestBuilder->new;
37
my $builder        = t::lib::TestBuilder->new;
38
my $library        = $builder->build( { source => 'Branch' } );
38
my $library        = $builder->build( { source => 'Branch' } );
39
my $patron         = $builder->build( { source => 'Borrower', values => { branchcode => $library->{branchcode} } } );
39
my $patron         = $builder->build( { source => 'Borrower', value => { branchcode => $library->{branchcode} } } );
40
my $patron_2       = $builder->build( { source => 'Borrower' } );
40
my $patron_2       = $builder->build( { source => 'Borrower' } );
41
my $nb_of_logaction = get_nb_of_logactions();
41
my $nb_of_logaction = get_nb_of_logactions();
42
my $nb_of_messages = Koha::Patron::Messages->search->count;
42
my $nb_of_messages = Koha::Patron::Messages->search->count;
43
- 

Return to bug 19268