@@ -, +, @@ K/P/Messaging.t --- t/db_dependent/Circulation/Branch.t | 8 ++++---- t/db_dependent/Koha/Patron/Messages.t | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) --- a/t/db_dependent/Circulation/Branch.t +++ a/t/db_dependent/Circulation/Branch.t @@ -65,21 +65,21 @@ my $samplebranch2 = $builder->build({ source => 'Branch' }); # Add itemtypes my $no_circ_itemtype = $builder->build({ source => 'Itemtype', - values => { + value => { rentalcharge => '0', notforloan => 0 } }); my $sampleitemtype1 = $builder->build({ source => 'Itemtype', - values => { + value => { rentalcharge => '10.0', notforloan => 1 } }); my $sampleitemtype2 = $builder->build({ source => 'Itemtype', - values => { + value => { rentalcharge => '5.0', notforloan => 0 } @@ -87,7 +87,7 @@ my $sampleitemtype2 = $builder->build({ # Add Category my $samplecat = $builder->build({ source => 'Category', - values => { + value => { hidelostitems => 0 } }); --- a/t/db_dependent/Koha/Patron/Messages.t +++ a/t/db_dependent/Koha/Patron/Messages.t @@ -36,7 +36,7 @@ $schema->storage->txn_begin; my $builder = t::lib::TestBuilder->new; my $library = $builder->build( { source => 'Branch' } ); -my $patron = $builder->build( { source => 'Borrower', values => { branchcode => $library->{branchcode} } } ); +my $patron = $builder->build( { source => 'Borrower', value => { branchcode => $library->{branchcode} } } ); my $patron_2 = $builder->build( { source => 'Borrower' } ); my $nb_of_logaction = get_nb_of_logactions(); my $nb_of_messages = Koha::Patron::Messages->search->count; --