Skip to content

Commit

Permalink
Move ShardingSphereDatabaseFactory to common module
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu committed Jan 18, 2025
1 parent 4479d4a commit 81357e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ void assertCreateDatabaseWithSchemas() {
"foo_db", mock(DatabaseConfiguration.class), Collections.emptyList(), new ConfigurationProperties(new Properties()), mock(ComputeNodeInstanceContext.class));
assertThat(database.getName(), is("foo_db"));
assertThat(database.getProtocolType(), is(TypedSPILoader.getService(DatabaseType.class, "MySQL")));
assertTrue(database.getRuleMetaData().getRules().isEmpty());
assertThat(database.getRuleMetaData().getRules().size(), is(1));
assertTrue(database.getAllSchemas().isEmpty());
}

Expand Down

0 comments on commit 81357e5

Please sign in to comment.