Skip to content

Commit

Permalink
Refactor AlgorithmChangedProcessorTest (#33488)
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu authored Oct 31, 2024
1 parent e86ca4d commit 2676ffe
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ class AlgorithmChangedProcessorTest {

@Test
void assertSwapRuleItemConfiguration() {
AlgorithmConfiguration actual = processor.swapRuleItemConfiguration(new AlterNamedRuleItemEvent("", "foo", "", "", ""), createYAMLContent());
AlterNamedRuleItemEvent event = new AlterNamedRuleItemEvent("", "foo", "", "", "");
AlgorithmConfiguration actual = processor.swapRuleItemConfiguration(event, createYAMLContent());
assertThat(actual, deepEqual(new AlgorithmConfiguration("foo_algo", new Properties())));
}

Expand Down

0 comments on commit 2676ffe

Please sign in to comment.