From 07d0031f1cf5ca519e9f24f48845c7d5229f8585 Mon Sep 17 00:00:00 2001 From: bill bittner Date: Mon, 18 Dec 2017 14:18:42 -0800 Subject: [PATCH] updated publish test to choose dynamic name --- test/end-to-end/end-to-end.tests.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/end-to-end/end-to-end.tests.js b/test/end-to-end/end-to-end.tests.js index 40dd4e66..5a016d10 100644 --- a/test/end-to-end/end-to-end.tests.js +++ b/test/end-to-end/end-to-end.tests.js @@ -84,7 +84,8 @@ describe('end-to-end', function () { describe('publish', function () { const publishUrl = '/api/claim-publish'; - const name = 'test-name2'; + const date = new Date(); + const name = `test-publish-${date.getFullYear()}-${date.getMonth()}-${date.getDate()}-${date.getTime()}`; const filePath = './test/mock-files/bird.jpeg'; const fileName = 'byrd.jpeg';