Skip to content

Commit

Permalink
Fix test method to send post instead of get
Browse files Browse the repository at this point in the history
  • Loading branch information
amarsan committed Nov 14, 2024
1 parent aa73c6f commit 1e4dd19
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public void clearCache_nothingInCache_returns() {
// Arrange

// Act
final ResponseEntity<String> entity = getRestTemplate().getForEntity(this.clearCacheEndpoint, String.class);
final ResponseEntity<String> entity = getRestTemplate().postForEntity(this.clearCacheEndpoint, null, String.class);

// Assert
assertOK(entity);
Expand Down

0 comments on commit 1e4dd19

Please sign in to comment.