Skip to content
Permalink
Browse files
Fix checkstyle violations
  • Loading branch information
nacx committed May 7, 2019
1 parent 429109a commit bb9e07cc7276369f96234764b1ec6b5965455fa6
Showing 3 changed files with 5 additions and 5 deletions.
@@ -45,8 +45,8 @@ public void testCanGetConfiguredRegions() {
.endpoint("https://lon.identity.api.rackspacecloud.com/v2.0/tokens")
.addHeader("Accept", "application/json")
.payload(payloadFromStringWithContentType(
"{\"auth\":{\"RAX-KSKEY:apiKeyCredentials\":{\"username\":\"myUsername\",\"apiKey\":\"myApiKey\"}}}"
, "application/json")).build();
"{\"auth\":{\"RAX-KSKEY:apiKeyCredentials\":{\"username\":\"myUsername\",\"apiKey\":\"myApiKey\"}}}",
"application/json")).build();

HttpResponse authenticationResponse = HttpResponse.builder()
.statusCode(200)
@@ -44,8 +44,8 @@ public void testCanGetConfiguredZones() {
.endpoint("https://identity.api.rackspacecloud.com/v2.0/tokens")
.addHeader("Accept", "application/json")
.payload(payloadFromStringWithContentType(
"{\"auth\":{\"RAX-KSKEY:apiKeyCredentials\":{\"username\":\"myUsername\",\"apiKey\":\"myApiKey\"}}}"
, "application/json")).build();
"{\"auth\":{\"RAX-KSKEY:apiKeyCredentials\":{\"username\":\"myUsername\",\"apiKey\":\"myApiKey\"}}}",
"application/json")).build();


HttpResponse authenticationResponse = HttpResponse.builder()
@@ -248,7 +248,7 @@ public void testExecuteWebhook() throws IOException {
WebhookApi webhookApi = api.getWebhookApi(region, g.getId(), g.getScalingPolicies().iterator().next().getId());
Webhook webhook = webhookApi.create("test_execute", ImmutableMap.<String, Object>of("notes", "test metadata")).first().get();

assertTrue( AutoscaleUtils.execute(webhook.getAnonymousExecutionURI().get()) , " for " + webhook + " in " + region);
assertTrue( AutoscaleUtils.execute(webhook.getAnonymousExecutionURI().get()), " for " + webhook + " in " + region);
}
}

0 comments on commit bb9e07c

Please sign in to comment.