Skip to content

Commit ef6c112

Browse files
committed
Update test file name to differentiate between binary and file upload
1 parent 16e4ed9 commit ef6c112

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/bandwidth/MessagingApiTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public void testUploadDownloadDeleteBinaryMedia() throws Exception {
118118
byte[] fileContents = Files.readAllBytes(file.toPath());
119119
FileWrapper body = new FileWrapper(fileContents, contentType);
120120

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

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

0 commit comments

Comments
 (0)