2.1.0 version implementation.

This commit is contained in:
Alexey Zinchenko
2021-04-12 02:00:51 +03:00
committed by GitHub
parent 196f9ec289
commit 4cfa8ab843
126 changed files with 11406 additions and 1705 deletions
@@ -22,19 +22,18 @@
package com.github.prominence.openweathermap.api;
import org.junit.BeforeClass;
import org.junit.jupiter.api.BeforeAll;
public class ApiTest {
private static OpenWeatherMapClient client;
private static OpenWeatherMapClient manager;
@BeforeClass
@BeforeAll
public static void retrieveApiKey() {
String apiKey = System.getenv("OPENWEATHER_API_KEY");
manager = new OpenWeatherMapClient(apiKey);
client = new OpenWeatherMapClient(apiKey);
}
protected static OpenWeatherMapClient getClient() {
return manager;
return client;
}
}