Skip to content

Commit

Permalink
Add more unit test for them #30524
Browse files Browse the repository at this point in the history
  • Loading branch information
Aias00 committed Mar 24, 2024
1 parent 8252e93 commit a0f94e7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ void testPersist() {
String databaseName = "testDatabase";
String schemaName = "testSchema";
ShardingSphereSchema schema = createSchema();
when(repository.getDirectly(anyString())).thenReturn("0");

databaseMetaDataPersistService.persist(databaseName, schemaName, schema);

verify(repository, times(1)).persist(anyString(), anyString());
Expand Down

0 comments on commit a0f94e7

Please sign in to comment.