Authentication and assertThat issues

Fixed some problems with tests trying to authenticate when you are not actually signed in. This hit rate API limiting which caused tests to hang/fail

Also fixed assertThat getting deprecated from junit
This commit is contained in:
Alex Taylor
2020-01-27 14:29:46 -05:00
parent a9bb9302bc
commit 12c3a0b1fa
30 changed files with 129 additions and 10 deletions

View File

@@ -2,6 +2,7 @@ package org.kohsuke.github;
import org.junit.Test;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.*;
public class GHObjectTest extends org.kohsuke.github.AbstractGitHubWireMockTest {
@@ -13,4 +14,4 @@ public class GHObjectTest extends org.kohsuke.github.AbstractGitHubWireMockTest
containsString(
"login=github-api-test-org,location=<null>,blog=<null>,email=<null>,name=<null>,company=<null>,type=Organization,followers=0,following=0"));
}
}
}