Skip to content

Commit 2c3809b

Browse files
committed
Bug 37893: (RM follow-up) Adjust db_rev
Signed-off-by: Lucas Gass <[email protected]>
1 parent 9e40c7c commit 2c3809b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

t/db_dependent/Koha/SIP2/SIP2ModuleMigration.t

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ subtest 'Config from XML matches config from database' => sub {
4848
is( scalar( keys %{ $fileSIPconfig->{accounts} } ), 5, 'fileSIPconfig->{accounts} has 5 members' );
4949
is( Koha::SIP2::Accounts->search()->count, 0, 'Database does not yet contain any accounts' );
5050

51-
run_atomic_updates( ['bug_37893.pl'] ); #TODO: Update this to the DBREV when pushed
51+
my $db_rev_file = C4::Context->config('intranetdir') . '/installer/data/mysql/db_revs/250600035.pl';
52+
C4::Installer::run_db_rev($db_rev_file);
5253

5354
is( Koha::SIP2::Accounts->search()->count, 5, 'Database now contains 5 accounts' );
5455

0 commit comments

Comments
 (0)