Skip to content

Commit

Permalink
#28518 Add unit tests for SingleIndexReviser
Browse files Browse the repository at this point in the history
  • Loading branch information
anogueiraFlywire committed Nov 3, 2023
1 parent 14f37f6 commit fdecd37
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<IndexMetaData> optionalRevised = reviser.revise("tableName", originalMetaData, null);

Expand Down

0 comments on commit fdecd37

Please sign in to comment.