From d5ff32e910b970f464b1fadd70fd65809f07e4e2 Mon Sep 17 00:00:00 2001 From: David Gageot Date: Fri, 25 May 2012 13:08:16 +0200 Subject: [PATCH] Fix dashboard name --- .../sonar/plugins/core/dashboards/MyFavouritesDashboard.java | 2 +- .../plugins/core/dashboards/MyFavouritesDashboardTest.java | 2 +- .../webapp/WEB-INF/db/migrate/306_ignore_loaded_dashboards.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/dashboards/MyFavouritesDashboard.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/dashboards/MyFavouritesDashboard.java index 8e0e6582ba4..0e05c7ec82e 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/dashboards/MyFavouritesDashboard.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/dashboards/MyFavouritesDashboard.java @@ -30,7 +30,7 @@ import org.sonar.plugins.core.filters.MyFavouritesFilter; public final class MyFavouritesDashboard extends AbstractFilterDashboard { @Override public String getName() { - return "My Favourites"; + return "My favourites"; } @Override diff --git a/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/dashboards/MyFavouritesDashboardTest.java b/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/dashboards/MyFavouritesDashboardTest.java index d3cd570b876..9955cbe9be9 100644 --- a/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/dashboards/MyFavouritesDashboardTest.java +++ b/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/dashboards/MyFavouritesDashboardTest.java @@ -34,7 +34,7 @@ public class MyFavouritesDashboardTest { @Test public void should_have_a_name() { - assertThat(template.getName()).isEqualTo("My Favourites"); + assertThat(template.getName()).isEqualTo("My favourites"); } @Test diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/306_ignore_loaded_dashboards.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/306_ignore_loaded_dashboards.rb index 88bd4213c6d..e9d5c586159 100644 --- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/306_ignore_loaded_dashboards.rb +++ b/sonar-server/src/main/webapp/WEB-INF/db/migrate/306_ignore_loaded_dashboards.rb @@ -31,7 +31,7 @@ class IgnoreLoadedDashboards < ActiveRecord::Migration def self.up mark_dashboard_as_loaded('Projects') mark_dashboard_as_loaded('Treemap') - mark_dashboard_as_loaded('My Favourites') + mark_dashboard_as_loaded('My favourites') end def self.mark_dashboard_as_loaded(name) -- 2.39.5