Skip to content

Commit

Permalink
Add test cases on RuleItemConfigurationChangedProcessor's impl
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu committed Oct 31, 2024
1 parent 6fe9e58 commit 39b26f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ void assertChangeRuleItemConfiguration() {
processor.changeRuleItemConfiguration(mock(AlterNamedRuleItemEvent.class), currentRuleConfig, toBeChangedItemConfig);
assertThat(new ArrayList<>(currentRuleConfig.getDataSourceGroups()).get(0).getTransactionalReadQueryStrategy(), is(TransactionalReadQueryStrategy.FIXED));
}

@Test
void assertDropRuleItemConfiguration() {
ReadwriteSplittingRuleConfiguration currentRuleConfig = new ReadwriteSplittingRuleConfiguration(
Expand Down

0 comments on commit 39b26f5

Please sign in to comment.