Skip to content

Commit

Permalink
Refactor InsertClauseShardingConditionEngineTest (#33969)
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu authored Dec 8, 2024
1 parent cf31f4b commit d7a4bd9
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ private ShardingSphereDatabase mockDatabase() {
when(result.getName()).thenReturn("foo_db");
ShardingSphereSchema schema = mock(ShardingSphereSchema.class, RETURNS_DEEP_STUBS);
when(schema.containsTable("foo_tbl")).thenReturn(true);
when(schema.getTable("foo_tbl").getColumnNames()).thenReturn(Arrays.asList("foo_col_1", "foo_col_2", "foo_Col_3"));
when(schema.getTable("foo_tbl").findColumnNamesIfNotExistedFrom(new LinkedHashSet<>(Arrays.asList("foo_col_1", "foo_col_3")))).thenReturn(Collections.singleton("foo_col_2"));
when(result.getSchema("foo_db")).thenReturn(schema);
return result;
Expand Down

0 comments on commit d7a4bd9

Please sign in to comment.