aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-server
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2014-07-16 12:54:32 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2014-07-16 12:54:32 +0200
commitd0ac5701c2d3bc3af741184c01e1510c41cb7954 (patch)
treed9fd4f6ce78885d7a46024daea7c0df0a6bcb6b8 /server/sonar-server
parent4549c9cc09d528d6d4b510c32ba5c8e4b519e6fd (diff)
downloadsonarqube-d0ac5701c2d3bc3af741184c01e1510c41cb7954.tar.gz
sonarqube-d0ac5701c2d3bc3af741184c01e1510c41cb7954.zip
SONAR-5338 Fix UT
Diffstat (limited to 'server/sonar-server')
-rw-r--r--server/sonar-server/src/test/java/org/sonar/server/test/ws/TestsShowActionTest.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/server/sonar-server/src/test/java/org/sonar/server/test/ws/TestsShowActionTest.java b/server/sonar-server/src/test/java/org/sonar/server/test/ws/TestsShowActionTest.java
index 10f685adede..49c28868be6 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/test/ws/TestsShowActionTest.java
+++ b/server/sonar-server/src/test/java/org/sonar/server/test/ws/TestsShowActionTest.java
@@ -21,7 +21,6 @@
package org.sonar.server.test.ws;
import org.junit.Before;
-import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
@@ -94,7 +93,6 @@ public class TestsShowActionTest {
}
@Test
- @Ignore
public void show_from_test_data() throws Exception {
MockUserSession.set().addComponentPermission(UserRole.CODEVIEWER, "SonarQube", TEST_PLAN_KEY);
@@ -102,7 +100,7 @@ public class TestsShowActionTest {
.setTextValue("<tests-details>" +
"<testcase status=\"ok\" time=\"10\" name=\"test1\"/>" +
"<testcase status=\"error\" time=\"97\" name=\"test2\">" +
- "<error message=\"expected:<true> but was:<false>\">" +
+ "<error message=\"expected:&lt;true&gt; but was:&lt;false&gt;\">" +
"<![CDATA[" +
"java.lang.AssertionError: expected:<true> but was:<false>\n\t" +
"at org.junit.Assert.fail(Assert.java:91)\n\t" +