Skip to content

Commit 7eed199

Browse files
committed
fix(stepDefinition): update DELETE user step definition regex for consistency
1 parent dcbfc1c commit 7eed199

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/feature/StepDefinition.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public void theClientCallToDeleteTheCreatedUser() {
8686
executeDelete("/random-users/" + createdUserId);
8787
}
8888

89-
@When("the client call to DELETE /random-users/{int}")
89+
@When("^the client call to DELETE /random-users/(\\d+)$")
9090
public void theClientCallToDeleteRandomUser(int id) {
9191
executeDelete("/random-users/" + id);
9292
}

0 commit comments

Comments
 (0)