updated publish test to choose dynamic name
This commit is contained in:
parent
7cde735435
commit
07d0031f1c
1 changed files with 2 additions and 1 deletions
|
@ -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';
|
||||
|
||||
|
|
Loading…
Reference in a new issue