mirror of
https://github.com/Prominence/openweathermap-java-api.git
synced 2026-07-03 03:06:45 +03:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 55789804aa | |||
| ac1f043f51 |
+3
-2
@@ -51,6 +51,7 @@ public class CurrentWeatherOneCallApi3IntegrationTest extends ApiTest {
|
||||
.asJava();
|
||||
|
||||
assertNotNull(currentWeatherData);
|
||||
assertNotNull(currentWeatherData.getDailyList().get(0).getSummary());
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -66,7 +67,6 @@ public class CurrentWeatherOneCallApi3IntegrationTest extends ApiTest {
|
||||
|
||||
assertNotNull(responseJson);
|
||||
assertNotEquals("", responseJson);
|
||||
System.out.println(responseJson);
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -84,6 +84,7 @@ public class CurrentWeatherOneCallApi3IntegrationTest extends ApiTest {
|
||||
assertNotNull(currentWeatherData);
|
||||
assertNull(currentWeatherData.getCurrent());
|
||||
assertNull(currentWeatherData.getMinutelyList());
|
||||
assertNotNull(currentWeatherData.getDailyList().get(0).getSummary());
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -99,6 +100,7 @@ public class CurrentWeatherOneCallApi3IntegrationTest extends ApiTest {
|
||||
|
||||
assertNotNull(currentWeatherDataFuture);
|
||||
assertNotNull(currentWeatherDataFuture.get());
|
||||
assertNotNull(currentWeatherDataFuture.get().getDailyList().get(0).getSummary());
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -115,7 +117,6 @@ public class CurrentWeatherOneCallApi3IntegrationTest extends ApiTest {
|
||||
assertNotNull(responseJsonFuture);
|
||||
final String responseJson = responseJsonFuture.get();
|
||||
assertNotNull(responseJson);
|
||||
System.out.println(responseJson);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user