fix(tests): Remove updated_at from post and page update test payloads

This commit is contained in:
2025-10-07 14:31:54 +00:00
parent 2d9844eb61
commit 62839e2f54
4 changed files with 10 additions and 5 deletions

View File

@@ -108,8 +108,7 @@ tap.test('should update post', async () => {
if (createdPost) {
const updatedPost = await createdPost.update({
...createdPost.postData,
html: '<p>This post has been updated.</p>',
updated_at: new Date().toISOString()
html: '<p>This post has been updated.</p>'
});
expect(updatedPost).toBeInstanceOf(ghost.Post);
console.log(`Updated post: ${updatedPost.getId()}`);