aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-testing-harness/src/test
diff options
context:
space:
mode:
authorDavid Gageot <david@gageot.net>2015-07-07 10:45:43 +0200
committerDavid Gageot <david@gageot.net>2015-07-07 11:36:26 +0200
commit38df1425f5f4e967ac7f27367599c852a52b8b7c (patch)
tree3faba18cb31f6b9c77c356be775cdb10e44a6a6b /sonar-testing-harness/src/test
parenta6f8589f7015886ba1a325ce6955d27d65da07cf (diff)
downloadsonarqube-38df1425f5f4e967ac7f27367599c852a52b8b7c.tar.gz
sonarqube-38df1425f5f4e967ac7f27367599c852a52b8b7c.zip
Fix deprecated code
Diffstat (limited to 'sonar-testing-harness/src/test')
-rw-r--r--sonar-testing-harness/src/test/java/org/sonar/test/JsonAssertTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-testing-harness/src/test/java/org/sonar/test/JsonAssertTest.java b/sonar-testing-harness/src/test/java/org/sonar/test/JsonAssertTest.java
index 21fbee1c439..de21bc3068d 100644
--- a/sonar-testing-harness/src/test/java/org/sonar/test/JsonAssertTest.java
+++ b/sonar-testing-harness/src/test/java/org/sonar/test/JsonAssertTest.java
@@ -72,7 +72,7 @@ public class JsonAssertTest {
@Test(expected = IllegalStateException.class)
public void fail_to_load_url() throws Exception {
- assertJson(new File("target/missing").toURL());
+ assertJson(new File("target/missing").toURI().toURL());
}
@Test