Skip to content

Commit

Permalink
fix: erroring tests about 0
Browse files Browse the repository at this point in the history
  • Loading branch information
arifBurakDemiray committed Oct 10, 2023
1 parent 93cf818 commit 1b5acf5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ private void writeToMvFile(Integer version) {
private void validateMigrationVersionAndSetup(Integer version, boolean isApplied) {
Assert.assertEquals(-1, migrationHelper.appliedMigrationVersion);
if (isApplied) {
writeToMvFile(0);
Assert.assertEquals("0", TestUtils.getCurrentMV());
writeToMvFile(version);
Assert.assertEquals(version.toString(), TestUtils.getCurrentMV());
}
migrationHelper.setupMigrations(TestUtils.getMockCtxCore());
Assert.assertEquals(version, new Integer(migrationHelper.appliedMigrationVersion));
Expand Down

0 comments on commit 1b5acf5

Please sign in to comment.