Skip to content

Commit

Permalink
Format the code
Browse files Browse the repository at this point in the history
Signed-off-by: cmoulliard <[email protected]>
  • Loading branch information
cmoulliard authored and aureamunoz committed Sep 27, 2023
1 parent 61694ab commit a3a3cb8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/src/test/java/io/halkyon/utils/TestUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,12 @@ public static Application createApplication(String applicationName, String clust
return app;
}

public static Credential createCredential(String credentialName, String credentialType, long serviceId, String username, String password,
String vaultPath) {
public static Credential createCredential(String credentialName, String credentialType, long serviceId,
String username, String password, String vaultPath) {
given().contentType(MediaType.APPLICATION_FORM_URLENCODED).formParam("name", credentialName)
.formParam("credentialType",credentialType)
.formParam("serviceId", serviceId).formParam("username", username).formParam("password", password)
.formParam("vaultKvPath", vaultPath).when().post("/credentials").then().statusCode(201);
.formParam("credentialType", credentialType).formParam("serviceId", serviceId)
.formParam("username", username).formParam("password", password).formParam("vaultKvPath", vaultPath)
.when().post("/credentials").then().statusCode(201);

return given().contentType(MediaType.APPLICATION_JSON).get("/credentials/name/" + credentialName).then()
.statusCode(200).extract().as(Credential.class);
Expand Down

0 comments on commit a3a3cb8

Please sign in to comment.