summaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2013-02-06 10:47:53 +0100
committerJulien Lancelot <julien.lancelot@gmail.com>2013-02-06 10:48:06 +0100
commit9e2626923826645a4d3cc4631928ea358f92cd58 (patch)
tree6e173a912eda78773aa7edfafe6255cf5242f301 /sonar-server
parent3d80bdfe7d20f818c9b728d8d99c30f2c064ac45 (diff)
downloadsonarqube-9e2626923826645a4d3cc4631928ea358f92cd58.tar.gz
sonarqube-9e2626923826645a4d3cc4631928ea358f92cd58.zip
Fix issue when displaying parameter tests
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/controllers/test_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/test_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/test_controller.rb
index 13bdc012ec7..2d8f4e25125 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/test_controller.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/test_controller.rb
@@ -26,7 +26,7 @@ class TestController < ApplicationController
@test = params[:test].to_s
@test_plan = java_facade.testPlan(snapshot_id)
- @test_case = @test_plan.testCaseByKey(@test)
+ @test_case = @test_plan.testCasesByName(@test).first
render :partial => 'test/testcase_working_view'
end