diff options
author | David Gageot <david@gageot.net> | 2015-07-07 10:45:43 +0200 |
---|---|---|
committer | David Gageot <david@gageot.net> | 2015-07-07 11:36:26 +0200 |
commit | 38df1425f5f4e967ac7f27367599c852a52b8b7c (patch) | |
tree | 3faba18cb31f6b9c77c356be775cdb10e44a6a6b /sonar-testing-harness/src/test | |
parent | a6f8589f7015886ba1a325ce6955d27d65da07cf (diff) | |
download | sonarqube-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.java | 2 |
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 |