Skip to content

Commit 91026c8

Browse files
Merge pull request #51 from Bandwidth/DX-2262_Append-GUID-To-Media-ID
Media tests are now compatible with concurrent Matrix Testing
2 parents aa136ea + ca72737 commit 91026c8

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
@@ -84,7 +84,7 @@ public void testUploadDownloadDeleteMedia() throws Exception {
8484
byte[] fileContents = Files.readAllBytes(file.toPath());
8585
FileWrapper body = new FileWrapper(file, contentType);
8686

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

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

0 commit comments

Comments
 (0)