Skip to content

Commit

Permalink
Update test file name to differentiate between binary and file upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ajrice6713 committed Mar 3, 2022
1 parent 16e4ed9 commit ef6c112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/com/bandwidth/MessagingApiTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public void testUploadDownloadDeleteBinaryMedia() throws Exception {
byte[] fileContents = Files.readAllBytes(file.toPath());
FileWrapper body = new FileWrapper(fileContents, contentType);

final String mediaId = "java-media-test_" + java.util.UUID.randomUUID();
final String mediaId = "java-media-binary-test_" + java.util.UUID.randomUUID();

ApiResponse<Void> uploadMediaApiResponse = controller.uploadMedia(ACCOUNT_ID, mediaId, body, contentType, "no-cache");
assertEquals("Response Code is not 204", 204, uploadMediaApiResponse.getStatusCode());
Expand Down

0 comments on commit ef6c112

Please sign in to comment.