-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
94f4397
commit 601ad06
Showing
3 changed files
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
import com.exaroton.api.ExarotonClient; | ||
import com.exaroton.api.server.Server; | ||
import org.jetbrains.annotations.NotNull; | ||
|
||
public abstract class APIClientTest { | ||
protected static final String TEST_SERVER_ID = System.getenv("EXAROTON_TEST_SERVER"); | ||
protected final ExarotonClient client = new ExarotonClient(System.getenv("EXAROTON_API_TOKEN")); | ||
protected final Server server = client.getServer(TEST_SERVER_ID); | ||
protected static final @NotNull String TEST_SERVER_ID = System.getenv("EXAROTON_TEST_SERVER"); | ||
protected final @NotNull ExarotonClient client = new ExarotonClient(System.getenv("EXAROTON_API_TOKEN")); | ||
protected final @NotNull Server server = client.getServer(TEST_SERVER_ID); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters