Changes test to atLeastOnce() rather than exactly 1

This commit is contained in:
spencergibb
2025-01-29 14:03:14 -05:00
parent 4256bc94d4
commit 86f29f7454

View File

@@ -71,7 +71,7 @@ public class ConfigWatchTests {
setupWatch(eventPublisher, new GetValue(), "/app/");
verify(eventPublisher, times(1)).publishEvent(any(RefreshEvent.class));
verify(eventPublisher, atLeastOnce()).publishEvent(any(RefreshEvent.class));
}
@Test