From 2a634cc4d455da1bb56b7dac6a2608a38df82045 Mon Sep 17 00:00:00 2001 From: Fabrice Bellingard Date: Wed, 5 Dec 2012 16:10:24 +0100 Subject: [PATCH] SONAR-3972 Update unit test --- .../core/dashboards/GlobalDefaultDashboardTest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/dashboards/GlobalDefaultDashboardTest.java b/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/dashboards/GlobalDefaultDashboardTest.java index 40d9869ff9b..2081d92c499 100644 --- a/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/dashboards/GlobalDefaultDashboardTest.java +++ b/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/dashboards/GlobalDefaultDashboardTest.java @@ -50,7 +50,7 @@ public class GlobalDefaultDashboardTest { @Test public void should_have_a_name() { - assertThat(template.getName()).isEqualTo("Projects"); + assertThat(template.getName()).isEqualTo("Home"); } @Test @@ -61,11 +61,11 @@ public class GlobalDefaultDashboardTest { @Test public void should_create_global_dashboard_with_four_widgets() { when(dao.findSystemFilterByName(MyFavouritesFilter.NAME)).thenReturn( - new MeasureFilterDto().setId(100L) - ); + new MeasureFilterDto().setId(100L) + ); when(dao.findSystemFilterByName(ProjectFilter.NAME)).thenReturn( - new MeasureFilterDto().setId(101L) - ); + new MeasureFilterDto().setId(101L) + ); Dashboard dashboard = template.createDashboard(); List firstColumn = dashboard.getWidgetsOfColumn(1); assertThat(firstColumn).hasSize(2); -- 2.39.5