Skip to content

Commit

Permalink
fix test using string compare
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenwinship committed Apr 22, 2024
1 parent 036edd9 commit ce0d500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/edu/harvard/iq/dataverse/api/SearchIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ public void testDatasetThumbnail() {

overrideThumbnailFail.prettyPrint();
overrideThumbnailFail.then().assertThat()
.body("message", CoreMatchers.equalTo("File is larger than maximum size: 500000."))
.body("message", CoreMatchers.containsString("File is larger than maximum size:"))
/**
* @todo We want this to expect 400 (BAD_REQUEST), not 403
* (FORBIDDEN).
Expand Down

0 comments on commit ce0d500

Please sign in to comment.