Skip to content

Commit

Permalink
updating new files to match code formatting rules
Browse files Browse the repository at this point in the history
  • Loading branch information
YordanAngelov committed Aug 16, 2022
1 parent 56105f2 commit ff7ac66
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ public class AwsFeaturesStatus {

final String BASE_URL = WebServiceEndPoints.BASE_URL.getUrl();

public String expectedExampleSecrets = "Secrets -> SECRET-VALUE-1, SECRET-VALUE-2, SECRET-VALUE-3, SECRET-VALUE-4";
public String expectedExampleSecrets =
"Secrets -> SECRET-VALUE-1, SECRET-VALUE-2, SECRET-VALUE-3, SECRET-VALUE-4";

@Step("Get current example secrets")
public void readExampleSecrets() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package com.amido.stacks.tests.api.stepdefinitions;

import static net.serenitybdd.rest.SerenityRest.restAssuredThat;
import static org.hamcrest.Matchers.equalTo;

import com.amido.stacks.tests.api.cloud.AwsFeaturesStatus;
import io.cucumber.java.en.Then;
import io.cucumber.java.en.When;
import net.thucydides.core.annotations.Steps;

import static net.serenitybdd.rest.SerenityRest.restAssuredThat;
import static org.hamcrest.Matchers.equalTo;

public class AwsStepDefinitions {

@Steps AwsFeaturesStatus AwsFeaturesStatus;
Expand All @@ -19,7 +19,7 @@ public void check_the_example_secrets() {

@Then("the API should return the correct examples")
public void the_API_should_return() {
restAssuredThat(lastResponse -> lastResponse.body(equalTo(AwsFeaturesStatus.expectedExampleSecrets)));
restAssuredThat(
lastResponse -> lastResponse.body(equalTo(AwsFeaturesStatus.expectedExampleSecrets)));
}

}

0 comments on commit ff7ac66

Please sign in to comment.