Skip to content

Commit 48f5fdb

Browse files
author
Grzegorz Piwowarek
committed
Cleanup OkHttpGetLiveTest
1 parent 4530246 commit 48f5fdb

1 file changed

Lines changed: 5 additions & 14 deletions

File tree

‎spring-rest/src/test/java/org/baeldung/okhttp/OkHttpGetLiveTest.java‎

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,14 @@
11
package org.baeldung.okhttp;
22

3-
import static org.hamcrest.Matchers.equalTo;
4-
import static org.junit.Assert.assertThat;
5-
import static org.junit.Assert.fail;
3+
import okhttp3.*;
4+
import org.junit.Test;
65

76
import java.io.IOException;
87

9-
import org.junit.Test;
10-
11-
import okhttp3.Call;
12-
import okhttp3.Callback;
13-
import okhttp3.HttpUrl;
14-
import okhttp3.OkHttpClient;
15-
import okhttp3.Request;
16-
import okhttp3.Response;
8+
import static org.hamcrest.Matchers.equalTo;
9+
import static org.junit.Assert.assertThat;
10+
import static org.junit.Assert.fail;
1711

18-
//@RunWith(SpringJUnit4ClassRunner.class)
19-
//@WebAppConfiguration
20-
//@ContextConfiguration(locations = "file:src/main/webapp/WEB-INF/api-servlet.xml")
2112
public class OkHttpGetLiveTest {
2213

2314
private static final String BASE_URL = "http://localhost:8080/spring-rest";

0 commit comments

Comments
 (0)