Skip to content

Commit c58ef20

Browse files
authored
feat(calm-hub): fix missed /api/calm refactor in tests (finos#2665)
1 parent f2a3d2d commit c58ef20

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

calm-hub/src/test/java/org/finos/calm/resources/TestUserAccessResourceShould.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ void return_400_when_double_wildcard_username() throws Exception {
128128
.header("Content-Type", "application/json")
129129
.body(requestBody)
130130
.when()
131-
.post("/calm/namespaces/finos/user-access")
131+
.post("/api/calm/namespaces/finos/user-access")
132132
.then()
133133
.statusCode(400);
134134
}
@@ -149,10 +149,10 @@ void return_201_when_wildcard_username_is_used() throws Exception {
149149
.header("Content-Type", "application/json")
150150
.body(requestBody)
151151
.when()
152-
.post("/calm/namespaces/finos/user-access")
152+
.post("/api/calm/namespaces/finos/user-access")
153153
.then()
154154
.statusCode(201)
155-
.header("Location", containsString("/calm/namespaces/finos/user-access/102"));
155+
.header("Location", containsString("/api/calm/namespaces/finos/user-access/102"));
156156
}
157157

158158
@Test

0 commit comments

Comments
 (0)