mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
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:
parent
4110ffaa2c
commit
06f6fc11a7
@ -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 () {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user