Skip to content

Commit

Permalink
Bump schema version in tests
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Vychikov <[email protected]>
  • Loading branch information
dmitry-vychikov committed Mar 3, 2024
1 parent 01a13d0 commit 2d4deb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Hangfire.PostgreSql.Tests/PostgreSqlInstallerFacts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public void InstallingSchemaUpdatesVersionAndShouldNotThrowAnException()
PostgreSqlObjectsInstaller.Install(connection, schemaName);

int lastVersion = connection.Query<int>($@"SELECT version FROM ""{schemaName}"".""schema""").Single();
Assert.Equal(21, lastVersion);
Assert.Equal(22, lastVersion);

connection.Execute($@"DROP SCHEMA ""{schemaName}"" CASCADE;");
});
Expand All @@ -39,7 +39,7 @@ public void InstallingSchemaWithCapitalsUpdatesVersionAndShouldNotThrowAnExcepti
PostgreSqlObjectsInstaller.Install(connection, schemaName);

int lastVersion = connection.Query<int>($@"SELECT version FROM ""{schemaName}"".""schema""").Single();
Assert.Equal(21, lastVersion);
Assert.Equal(22, lastVersion);

connection.Execute($@"DROP SCHEMA ""{schemaName}"" CASCADE;");
});
Expand Down

0 comments on commit 2d4deb1

Please sign in to comment.