use of com.github.tomakehurst.wiremock.common.Slf4jNotifier in project che-server by eclipse-che.
the class GithubApiClientTest method start.
@BeforeMethod
void start() {
wireMockServer = new WireMockServer(wireMockConfig().notifier(new Slf4jNotifier(false)).dynamicPort());
wireMockServer.start();
WireMock.configureFor("localhost", wireMockServer.port());
wireMock = new WireMock("localhost", wireMockServer.port());
client = new GithubApiClient(wireMockServer.url("/"));
}
use of com.github.tomakehurst.wiremock.common.Slf4jNotifier in project devspaces-images by redhat-developer.
the class GitlabApiClientTest method start.
@BeforeMethod
void start() {
wireMockServer = new WireMockServer(wireMockConfig().notifier(new Slf4jNotifier(false)).dynamicPort());
wireMockServer.start();
WireMock.configureFor("localhost", wireMockServer.port());
wireMock = new WireMock("localhost", wireMockServer.port());
client = new GitlabApiClient(wireMockServer.url("/"));
}
use of com.github.tomakehurst.wiremock.common.Slf4jNotifier in project devspaces-images by redhat-developer.
the class GitlabOAuthTokenFetcherTest method start.
@BeforeMethod
void start() {
wireMockServer = new WireMockServer(wireMockConfig().notifier(new Slf4jNotifier(false)).dynamicPort());
wireMockServer.start();
WireMock.configureFor("localhost", wireMockServer.port());
wireMock = new WireMock("localhost", wireMockServer.port());
oAuthTokenFetcher = new GitlabOAuthTokenFetcher(wireMockServer.url("/"), wireMockServer.url("/"), "http://che.api", oAuthAPI);
}
use of com.github.tomakehurst.wiremock.common.Slf4jNotifier in project devspaces-images by redhat-developer.
the class GithubPersonalAccessTokenFetcherTest method start.
@BeforeMethod
void start() {
wireMockServer = new WireMockServer(wireMockConfig().notifier(new Slf4jNotifier(false)).port(httpPort));
wireMockServer.start();
WireMock.configureFor("localhost", httpPort);
wireMock = new WireMock("localhost", httpPort);
githubPATFetcher = new GithubPersonalAccessTokenFetcher("http://che.api", oAuthAPI, new GithubApiClient(wireMockServer.url("/")));
}
use of com.github.tomakehurst.wiremock.common.Slf4jNotifier in project devspaces-images by redhat-developer.
the class GithubApiClientTest method start.
@BeforeMethod
void start() {
wireMockServer = new WireMockServer(wireMockConfig().notifier(new Slf4jNotifier(false)).dynamicPort());
wireMockServer.start();
WireMock.configureFor("localhost", wireMockServer.port());
wireMock = new WireMock("localhost", wireMockServer.port());
client = new GithubApiClient(wireMockServer.url("/"));
}
Aggregations