Cleaned up tags e2e webhook test

refs https://github.com/TryGhost/Ghost/issues/15537
refs 4110ffaa2c

- The test had minor formatting issues not worth an extra back-forth during the PR review
This commit is contained in:
Naz 2022-10-07 10:20:41 +08:00
parent 4110ffaa2c
commit 06f6fc11a7
No known key found for this signature in database

View File

@ -1,13 +1,12 @@
const {agentProvider, mockManager, fixtureManager, matchers} = require('../utils/e2e-framework'); const {agentProvider, mockManager, fixtureManager, matchers} = require('../utils/e2e-framework');
const {anyGhostAgent, anyObjectId, anyISODateTime, anyUuid, anyString, anyContentVersion, anyNumber, anyLocalURL} = matchers; const {anyGhostAgent, anyObjectId, anyISODateTime, anyString, anyContentVersion, anyNumber, anyLocalURL} = matchers;
const tagSnapshot = { const tagSnapshot = {
created_at: anyISODateTime, created_at: anyISODateTime,
description: anyString, description: anyString,
id: anyObjectId, id: anyObjectId,
updated_at: anyISODateTime, updated_at: anyISODateTime,
url: anyLocalURL, url: anyLocalURL
visibility: 'public'
}; };
describe('tag.* events', function () { describe('tag.* events', function () {
@ -61,4 +60,4 @@ describe('tag.* events', function () {
} }
}); });
}); });
}); });