From fdecd37574768bcfcdc0f695c023e943f34a31fd Mon Sep 17 00:00:00 2001 From: "Alvaro.Nogueira" Date: Fri, 3 Nov 2023 14:58:05 +0100 Subject: [PATCH] #28518 Add unit tests for SingleIndexReviser --- .../single/metadata/reviser/index/SingleIndexReviserTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/single/core/src/test/java/org/apache/shardingsphere/single/metadata/reviser/index/SingleIndexReviserTest.java b/kernel/single/core/src/test/java/org/apache/shardingsphere/single/metadata/reviser/index/SingleIndexReviserTest.java index e2dc254ef86598..a9624d60654de9 100644 --- a/kernel/single/core/src/test/java/org/apache/shardingsphere/single/metadata/reviser/index/SingleIndexReviserTest.java +++ b/kernel/single/core/src/test/java/org/apache/shardingsphere/single/metadata/reviser/index/SingleIndexReviserTest.java @@ -30,11 +30,11 @@ class SingleIndexReviserTest { @Test void assertReviserReturnsRevisedIndex() { - SingleIndexReviser reviser = new SingleIndexReviser(); IndexMetaData originalMetaData = new IndexMetaData("test_idx_tableName"); originalMetaData.getColumns().add("column1"); originalMetaData.getColumns().add("column2"); originalMetaData.setUnique(true); + SingleIndexReviser reviser = new SingleIndexReviser(); Optional optionalRevised = reviser.revise("tableName", originalMetaData, null);