Fixes after merge

Fixed some failing tests after merge
This commit is contained in:
Alex Taylor
2020-01-27 14:45:02 -05:00
parent 2f86a9e534
commit 7c495c2177
4 changed files with 7 additions and 2 deletions

View File

@@ -6,8 +6,6 @@ import org.kohsuke.github.GHBranchProtection.EnforceAdmins;
import org.kohsuke.github.GHBranchProtection.RequiredReviews;
import org.kohsuke.github.GHBranchProtection.RequiredStatusChecks;
import static org.hamcrest.Matchers.*;
import static org.hamcrest.Matchers.contains;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;

View File

@@ -8,6 +8,8 @@ import org.kohsuke.github.GHOrganization.Permission;
import java.io.IOException;
import static org.junit.Assert.assertEquals;
public class GHOrganizationTest extends AbstractGitHubWireMockTest {
public static final String GITHUB_API_TEST = "github-api-test";

View File

@@ -14,6 +14,7 @@ import static org.hamcrest.CoreMatchers.*;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.greaterThanOrEqualTo;
import static org.hamcrest.core.IsInstanceOf.instanceOf;
import static org.junit.Assert.fail;
/**
* Test showing the behavior of OkHttpConnector with and without cache.

View File

@@ -27,7 +27,11 @@ import java.util.logging.StreamHandler;
import javax.net.ssl.SSLHandshakeException;
import static com.github.tomakehurst.wiremock.client.WireMock.*;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.*;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
/**
* @author Victor Martinez