From 2c3809bbf9d152bb5a2ba905cf827b231bd2d669 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 18 Nov 2025 18:16:21 +0000 Subject: [PATCH] Bug 37893: (RM follow-up) Adjust db_rev Signed-off-by: Lucas Gass --- t/db_dependent/Koha/SIP2/SIP2ModuleMigration.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/db_dependent/Koha/SIP2/SIP2ModuleMigration.t b/t/db_dependent/Koha/SIP2/SIP2ModuleMigration.t index 509bb8957b..00a76ee33d 100755 --- a/t/db_dependent/Koha/SIP2/SIP2ModuleMigration.t +++ b/t/db_dependent/Koha/SIP2/SIP2ModuleMigration.t @@ -48,7 +48,8 @@ subtest 'Config from XML matches config from database' => sub { is( scalar( keys %{ $fileSIPconfig->{accounts} } ), 5, 'fileSIPconfig->{accounts} has 5 members' ); is( Koha::SIP2::Accounts->search()->count, 0, 'Database does not yet contain any accounts' ); - run_atomic_updates( ['bug_37893.pl'] ); #TODO: Update this to the DBREV when pushed + my $db_rev_file = C4::Context->config('intranetdir') . '/installer/data/mysql/db_revs/250600035.pl'; + C4::Installer::run_db_rev($db_rev_file); is( Koha::SIP2::Accounts->search()->count, 5, 'Database now contains 5 accounts' );