Skip to content

Commit 7c495c2

Browse files
author
Alex Taylor
committed
Fixes after merge
Fixed some failing tests after merge
1 parent 2f86a9e commit 7c495c2

4 files changed

Lines changed: 7 additions & 2 deletions

File tree

src/test/java/org/kohsuke/github/GHBranchProtectionTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
import org.kohsuke.github.GHBranchProtection.RequiredReviews;
77
import org.kohsuke.github.GHBranchProtection.RequiredStatusChecks;
88

9-
import static org.hamcrest.Matchers.*;
10-
import static org.hamcrest.Matchers.contains;
119
import static org.junit.Assert.assertEquals;
1210
import static org.junit.Assert.assertFalse;
1311
import static org.junit.Assert.assertNotNull;

src/test/java/org/kohsuke/github/GHOrganizationTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
import java.io.IOException;
1010

11+
import static org.junit.Assert.assertEquals;
12+
1113
public class GHOrganizationTest extends AbstractGitHubWireMockTest {
1214

1315
public static final String GITHUB_API_TEST = "github-api-test";

src/test/java/org/kohsuke/github/GHRateLimitTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
import static org.hamcrest.MatcherAssert.assertThat;
1515
import static org.hamcrest.Matchers.greaterThanOrEqualTo;
1616
import static org.hamcrest.core.IsInstanceOf.instanceOf;
17+
import static org.junit.Assert.fail;
1718

1819
/**
1920
* Test showing the behavior of OkHttpConnector with and without cache.

src/test/java/org/kohsuke/github/RequesterRetryTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@
2727
import javax.net.ssl.SSLHandshakeException;
2828

2929
import static com.github.tomakehurst.wiremock.client.WireMock.*;
30+
import static org.hamcrest.MatcherAssert.assertThat;
3031
import static org.hamcrest.Matchers.*;
32+
import static org.junit.Assert.assertFalse;
33+
import static org.junit.Assert.assertTrue;
34+
import static org.junit.Assert.fail;
3135

3236
/**
3337
* @author Victor Martinez

0 commit comments

Comments
 (0)