Skip to content

Commit 897f66f

Browse files
Merge pull request #34 from Bandwidth/DX-2262_Append-GUID-To-MediaId
DX-2262 Append GUID To Media ID
2 parents 1cd79f1 + bcd6643 commit 897f66f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/media.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ describe('media', () => {
1616
const content = 'Hello world!';
1717

1818
const accountId = process.env.BW_ACCOUNT_ID;
19-
const mediaId = `${process.env.GITHUB_RUN_ID}-media-up-down`;
19+
const mediaId = `Node-Test-Media_`.concat(Date.now); //append time in millis to avoid third-party GUID generator dependency
2020
const body = new FileWrapper(Buffer.from(content));
2121
const contentType = 'text/plain';
2222

0 commit comments

Comments
 (0)