Skip to content

Commit

Permalink
fix tests for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
guredd committed Jan 6, 2025
1 parent 3f14cba commit f486db1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class DatabaseMigrationTests : DatabaseTestsBase() {
withTables(excludeSettings = listOf(TestDB.SQLITE), noPKTable) {
val script = MigrationUtils.generateMigrationScript(singlePKTable, scriptDirectory = scriptDirectory, scriptName = scriptName, withLogs = false)
assertTrue(script.exists())
assertEquals("src/test/resources/$scriptName.sql", script.path)
assertEquals("src${File.separator}test${File.separator}resources${File.separator}$scriptName.sql", script.path)

val expectedStatements: List<String> = MigrationUtils.statementsRequiredForDatabaseMigration(singlePKTable, withLogs = false)
assertEquals(1, expectedStatements.size)
Expand Down

0 comments on commit f486db1

Please sign in to comment.