diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2010-11-01 14:36:12 +0000 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2010-11-01 14:36:12 +0000 |
commit | 4cc2bb2abb5c5975ec107f90140b2447e4ed12f5 (patch) | |
tree | 179bc5d36e079ddc46232eae8b554b7677839137 | |
parent | 96df46c9dfd44d731c14a95751e94b1cd59ca421 (diff) | |
download | sonarqube-4cc2bb2abb5c5975ec107f90140b2447e4ed12f5.tar.gz sonarqube-4cc2bb2abb5c5975ec107f90140b2447e4ed12f5.zip |
SONAR-1643 fix IT
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/controllers/project_controller.rb | 2 | ||||
-rw-r--r-- | tests/integration/tests/src/it/selenium/i18n/french-france.html | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/project_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/project_controller.rb index 7f89f7f4f5b..64be4e9ccb7 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/project_controller.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/project_controller.rb @@ -24,7 +24,7 @@ class ProjectController < ApplicationController SECTION=Navigation::SECTION_RESOURCE def index - redirect_to :controller => :dashboard, :resource => params[:id] + redirect_to :overwrite_params => {:controller => :dashboard, :action => 'index', :resource => params[:id], :id => nil } end def show_reviews diff --git a/tests/integration/tests/src/it/selenium/i18n/french-france.html b/tests/integration/tests/src/it/selenium/i18n/french-france.html index acb77ce74bc..e7313db83ef 100644 --- a/tests/integration/tests/src/it/selenium/i18n/french-france.html +++ b/tests/integration/tests/src/it/selenium/i18n/french-france.html @@ -3,7 +3,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head profile="http://selenium-ide.openqa.org/profiles/test-case"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> -<link rel="selenium.base" href="" /> +<link rel="selenium.base" href="http://localhost:9000/" /> <title>french-france</title> </head> <body> @@ -13,7 +13,7 @@ </thead><tbody> <tr> <td>open</td> - <td>/project/index/org.sonar.tests:reference?locale=fr-FR</td> + <td>/dashboard/index?resource=org.sonar.tests:reference&locale=fr-FR</td> <td></td> </tr> <tr> |