Skip to content

Commit

Permalink
Fix the test case
Browse files Browse the repository at this point in the history
  • Loading branch information
mekya committed Aug 11, 2024
1 parent 37839df commit e621894
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -398,10 +398,13 @@ public void testAppSettings()
verify(clusterNotifier, times(1)).getClusterStore();
verify(clusterStore, times(1)).saveSettings(settings);

settings.setUpdateTime(1000);
settings.setUpdateTime(900);
newSettings.setUpdateTime(900);
assertFalse(spyAdapter.updateSettings(newSettings, false, true));

newSettings.setUpdateTime(1000);
assertTrue(spyAdapter.updateSettings(newSettings, false, true));


newSettings.setPlayJwtControlEnabled(true);
newSettings.setPlayTokenControlEnabled(true);
Expand Down

0 comments on commit e621894

Please sign in to comment.