Bug 37893: (RM follow-up) Adjust db_rev

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Lucas Gass 2025-11-18 18:16:21 +00:00
parent 9e40c7caf5
commit 2c3809bbf9
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 2 additions and 1 deletions

View File

@ -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' );