From: Julien Lancelot Date: Thu, 10 Jan 2019 13:09:44 +0000 (+0100) Subject: Improve tests on user settings stability X-Git-Tag: 7.6~135 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a71d799bc56dfa834aaadf8a0b13b88496ac0585;p=sonarqube.git Improve tests on user settings stability --- diff --git a/server/sonar-server/src/test/java/org/sonar/server/user/ws/CurrentActionTest.java b/server/sonar-server/src/test/java/org/sonar/server/user/ws/CurrentActionTest.java index 64c922adb96..f547ed2d506 100644 --- a/server/sonar-server/src/test/java/org/sonar/server/user/ws/CurrentActionTest.java +++ b/server/sonar-server/src/test/java/org/sonar/server/user/ws/CurrentActionTest.java @@ -188,7 +188,7 @@ public class CurrentActionTest { assertThat(response.getSettingsList()) .extracting(CurrentWsResponse.Setting::getKey, CurrentWsResponse.Setting::getValue) - .containsExactly( + .containsExactlyInAnyOrder( tuple("notifications.optOut", "true"), tuple("notifications.readDate", "1234")); }