updated publish test to choose dynamic name

This commit is contained in:
bill bittner 2017-12-18 14:18:42 -08:00
parent 7cde735435
commit 07d0031f1c

View file

@ -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';