]> source.dussan.org Git - sonarqube.git/commitdiff
Improve tests on user settings stability
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Thu, 10 Jan 2019 13:09:44 +0000 (14:09 +0100)
committerSonarTech <sonartech@sonarsource.com>
Thu, 10 Jan 2019 19:21:03 +0000 (20:21 +0100)
server/sonar-server/src/test/java/org/sonar/server/user/ws/CurrentActionTest.java

index 64c922adb964ca67b31750c1a9618739fcab93ca..f547ed2d506aacae32aa7440ea817fa6acea63e7 100644 (file)
@@ -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"));
   }