From 38df1425f5f4e967ac7f27367599c852a52b8b7c Mon Sep 17 00:00:00 2001 From: David Gageot Date: Tue, 7 Jul 2015 10:45:43 +0200 Subject: Fix deprecated code --- sonar-testing-harness/src/test/java/org/sonar/test/JsonAssertTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sonar-testing-harness') 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 -- cgit v1.2.3