Skip to content

Commit

Permalink
fix(tests): properly fetch resources at a specific timestamp from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cmark committed Sep 24, 2023
1 parent 0a4959a commit ddf8da7
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ public static ValidatableResponse assertResourceGet(final String resourceId) {

public static ValidatableResponse assertResourceGet(final String resourceId, final long timestamp) {
return givenAuthenticatedRequest(RESOURCES_API)
.queryParam("timestamp", timestamp)
.get("/{id}", resourceId)
.get("/{id}@{timestamp}", resourceId)
.then();
}
}

0 comments on commit ddf8da7

Please sign in to comment.