Skip to content

Commit

Permalink
fix: Make version check more lenient during integration tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-simons committed Jan 11, 2022
1 parent f308d5f commit d11401b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void migrationInfoShouldWork() {
.buildChain(context, new DiscoveryService().findMigrations(context));

assertThat(migrationChain.getServerAddress()).isEqualTo(getServerAddress());
assertThat(migrationChain.getServerVersion()).matches("Neo4j/4\\.3\\.\\d");
assertThat(migrationChain.getServerVersion()).matches("Neo4j/4\\.3\\.\\d+");
assertThat(migrationChain.getUsername()).isEqualTo("neo4j");
assertThat(migrationChain.getOptionalDatabaseName()).hasValue("neo4j");
assertThat(migrationChain.getElements()).hasSize(8);
Expand Down

0 comments on commit d11401b

Please sign in to comment.