aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorFabrice Bellingard <bellingard@gmail.com>2011-10-26 19:47:20 +0200
committerFabrice Bellingard <bellingard@gmail.com>2011-10-26 19:47:20 +0200
commit911c66cab3137ba840b856a4750088ea6709064f (patch)
tree08a88b2635bca5782e4c6e891e2b29f78231abbe /sonar-server
parenteb20690f5b006f2e9a1bcb39b5797db19b1c75b2 (diff)
downloadsonarqube-911c66cab3137ba840b856a4750088ea6709064f.tar.gz
sonarqube-911c66cab3137ba840b856a4750088ea6709064f.zip
SONAR-2733 Fix unit test and remove useless code
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/test/java/org/sonar/server/ui/ViewsTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/test/java/org/sonar/server/ui/ViewsTest.java b/sonar-server/src/test/java/org/sonar/server/ui/ViewsTest.java
index c1930b2e136..f1c5720a4e7 100644
--- a/sonar-server/src/test/java/org/sonar/server/ui/ViewsTest.java
+++ b/sonar-server/src/test/java/org/sonar/server/ui/ViewsTest.java
@@ -68,7 +68,7 @@ public class ViewsTest {
public void getResourceViewers() {
final Views views = new Views(VIEWS);
List resourceViewers = views.getPages(NavigationSection.RESOURCE_TAB);
- assertThat(resourceViewers.size(), is(1 + 3 /* default */));
+ assertThat(resourceViewers.size(), is(1 + 4 /* default */));
assertThat(resourceViewers.contains(new ViewProxy((View)FAKE_TAB)), is(true));
}