@@ -, +, @@ --- t/db_dependent/Letters/TemplateToolkit.t | 2 +- t/db_dependent/Members.t | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/t/db_dependent/Letters/TemplateToolkit.t +++ a/t/db_dependent/Letters/TemplateToolkit.t @@ -97,7 +97,7 @@ my $serial = Koha::Serial->new()->store(); my $subscription = Koha::Subscription->new()->store(); my $suggestion = Koha::Suggestion->new()->store(); my $checkout = Koha::Checkout->new( { itemnumber => $item->id() } )->store(); -my $modification = Koha::Patron::Modification->new( { verification_token => "TEST" } )->store(); +my $modification = Koha::Patron::Modification->new( { verification_token => "TEST", changed_fields => 'firstname,surname' } )->store(); my $prepared_letter; --- a/t/db_dependent/Members.t +++ a/t/db_dependent/Members.t @@ -341,7 +341,7 @@ subtest 'purgeSelfRegistration' => sub { my $d=360; C4::Members::DeleteUnverifiedOpacRegistrations($d); foreach(1..3) { - $dbh->do("INSERT INTO borrower_modifications (timestamp, borrowernumber, verification_token) VALUES ('2014-01-01 01:02:03',0,?)", undef, (scalar localtime)."_$_"); + $dbh->do("INSERT INTO borrower_modifications (timestamp, borrowernumber, verification_token, changed_fields) VALUES ('2014-01-01 01:02:03',0,?,'firstname,surname')", undef, (scalar localtime)."_$_"); } is( C4::Members::DeleteUnverifiedOpacRegistrations($d), 3, 'Test for DeleteUnverifiedOpacRegistrations' ); --