]> source.dussan.org Git - sonarqube.git/commitdiff
Update the test, we are expecting that search is started before web.
authorEric Hartmann <hartmann.eric@gmail.com>
Sat, 21 Feb 2015 07:18:02 +0000 (08:18 +0100)
committerEric Hartmann <hartmann.eric@gmail.com>
Sat, 21 Feb 2015 07:18:02 +0000 (08:18 +0100)
sonar-application/src/test/java/org/sonar/application/AppTest.java

index 370bff02686daa554020779b807deba15c0a5dfb..d5bbf56d6bc0acb0dcfe2c92976639c53f725b77 100644 (file)
@@ -87,7 +87,7 @@ public class AppTest {
     ArgumentCaptor<List<JavaCommand>> argument = ArgumentCaptor.forClass(listClass);
     verify(monitor).start(argument.capture());
 
-    assertThat(argument.getValue()).extracting("key").containsOnly("search", "web");
+    assertThat(argument.getValue()).extracting("key").containsExactly("search", "web");
   }
 
   @Test