mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[github-test] look for auth data in environment variables
It seems that they are easier to pass from the buildserver to tests
This commit is contained in:
@@ -192,9 +192,9 @@ public abstract class GithubTest extends UsefulTestCase {
|
||||
|
||||
@Override
|
||||
protected void setUp() throws Exception {
|
||||
final String host = System.getProperty("test.github.host");
|
||||
final String login = System.getProperty("test.github.login");
|
||||
final String password = System.getProperty("test.github.password");
|
||||
final String host = System.getenv("idea.test.github.host");
|
||||
final String login = System.getenv("idea.test.github.login");
|
||||
final String password = System.getenv("idea.test.github.password");
|
||||
|
||||
// TODO change to assert when a stable Github testing server is ready
|
||||
assumeNotNull(host);
|
||||
|
||||
Reference in New Issue
Block a user