Skip to content

Commit

Permalink
Remove useless field on ShardingInsertSupportedCheckerTest (#34081)
Browse files Browse the repository at this point in the history
* Add ShardingSphereDatabaseDataTest

* Add ShardingSphereDatabaseDataTest

* Remove useless field on ShardingInsertSupportedCheckerTest
  • Loading branch information
terrymanu authored Dec 16, 2024
1 parent 259a5ef commit a1c9837
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@

import org.apache.shardingsphere.infra.binder.context.segment.table.TablesContext;
import org.apache.shardingsphere.infra.binder.context.statement.dml.InsertStatementContext;
import org.apache.shardingsphere.infra.database.core.type.DatabaseType;
import org.apache.shardingsphere.infra.metadata.ShardingSphereMetaData;
import org.apache.shardingsphere.infra.metadata.database.ShardingSphereDatabase;
import org.apache.shardingsphere.infra.spi.type.typed.TypedSPILoader;
import org.apache.shardingsphere.sharding.checker.sql.dml.ShardingInsertSupportedChecker;
import org.apache.shardingsphere.sharding.exception.syntax.DMLWithMultipleShardingTablesException;
import org.apache.shardingsphere.sharding.exception.syntax.InsertSelectTableViolationException;
Expand Down Expand Up @@ -62,8 +60,6 @@
@ExtendWith(MockitoExtension.class)
class ShardingInsertSupportedCheckerTest {

private final DatabaseType databaseType = TypedSPILoader.getService(DatabaseType.class, "FIXTURE");

@Mock
private ShardingRule rule;

Expand Down

0 comments on commit a1c9837

Please sign in to comment.