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

@@ -89,8 +89,7 @@ tap.test('should update page', async () => {
if (createdPage) {
const updatedPage = await createdPage.update({
...createdPage.pageData,
html: '<p>This page has been updated.</p>',
updated_at: new Date().toISOString()
html: '<p>This page has been updated.</p>'
});
expect(updatedPage).toBeInstanceOf(ghost.Page);
console.log(`Updated page: ${updatedPage.getId()}`);