We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 606253c commit ed0a8f0Copy full SHA for ed0a8f0
1 file changed
src/test/java/com/ticketmagpie/MainControllerIT.java
@@ -3,6 +3,7 @@
3
import static org.hamcrest.Matchers.containsString;
4
import static org.junit.Assert.assertThat;
5
6
+import java.net.URI;
7
import java.net.URL;
8
9
import org.junit.Before;
@@ -31,7 +32,7 @@ public class MainControllerIT {
31
32
33
@Before
34
public void setUp() throws Exception {
- this.base = new URL(TestEnvironment.baseUrl("localhost", port));
35
+ this.base = new URI(TestEnvironment.baseUrl("localhost", port)).toURL();
36
template = new TestRestTemplate();
37
}
38
0 commit comments