summaryrefslogtreecommitdiffstats
path: root/sonar-ws-client
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-06-13 18:19:55 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2013-06-13 18:20:20 +0200
commit457e860fff1600e98bbd04ed59b0e4e90742a63f (patch)
tree1b9c9bc3357bd135f4849eb4147e46b0be2848c1 /sonar-ws-client
parent19cb14ea03ce36545b2e288269a30f0fdd82d402 (diff)
downloadsonarqube-457e860fff1600e98bbd04ed59b0e4e90742a63f.tar.gz
sonarqube-457e860fff1600e98bbd04ed59b0e4e90742a63f.zip
Fix unit test on windows
Diffstat (limited to 'sonar-ws-client')
-rw-r--r--sonar-ws-client/src/test/java/org/sonar/wsclient/internal/HttpRequestFactoryTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-ws-client/src/test/java/org/sonar/wsclient/internal/HttpRequestFactoryTest.java b/sonar-ws-client/src/test/java/org/sonar/wsclient/internal/HttpRequestFactoryTest.java
index 41100306f7d..dcd8553da77 100644
--- a/sonar-ws-client/src/test/java/org/sonar/wsclient/internal/HttpRequestFactoryTest.java
+++ b/sonar-ws-client/src/test/java/org/sonar/wsclient/internal/HttpRequestFactoryTest.java
@@ -59,7 +59,7 @@ public class HttpRequestFactoryTest {
} catch (Exception e) {
assertThat(e).isInstanceOf(IllegalStateException.class);
assertThat(e).hasMessage("Fail to request http://localhost:1/api/issues");
- assertThat(e.getCause()).hasMessage("Connection refused");
+ assertThat(e.getCause().getMessage()).contains("Connection refused");
}
}