]> source.dussan.org Git - sonarqube.git/commitdiff
fix quality flaw (exception test)
authorStephane Gamard <stephane.gamard@searchbox.com>
Wed, 28 May 2014 22:21:53 +0000 (00:21 +0200)
committerStephane Gamard <stephane.gamard@searchbox.com>
Wed, 28 May 2014 22:21:53 +0000 (00:21 +0200)
sonar-server/src/test/java/org/sonar/server/rule/index/RuleIndexMediumTest.java

index 4cfa61a0efd9f68fb41afb4160f4b5a3e5721c71..8e92a1365a0f0db13db9d56108fabe4cb0aacd3e 100644 (file)
@@ -421,7 +421,7 @@ public class RuleIndexMediumTest {
     assertThat(Iterables.getLast(results.getHits(), null).key().rule()).isEqualTo("S002");
   }
 
-  @Test(expected = IllegalStateException.class)
+  @Test
   public void fail_sort_by_language() throws InterruptedException {
 
     try {