From ace7818eac160ebeaa34454381322a56ab8d07fb Mon Sep 17 00:00:00 2001 From: mattwr18 Date: Wed, 4 Dec 2019 19:56:49 +0100 Subject: [PATCH] Update test description - the test clearly tests that the createdAt doesn't change, we changed the implementation, but didn't change the test description --- .../middleware/notifications/notificationsMiddleware.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/middleware/notifications/notificationsMiddleware.spec.js b/backend/src/middleware/notifications/notificationsMiddleware.spec.js index 502ddaa8e..2122d009b 100644 --- a/backend/src/middleware/notifications/notificationsMiddleware.spec.js +++ b/backend/src/middleware/notifications/notificationsMiddleware.spec.js @@ -371,7 +371,7 @@ describe('notifications', () => { expect(readAfter).toEqual(false) }) - it('updates the `createdAt` attribute', async () => { + it('does not update the `createdAt` attribute', async () => { await createPostAction() await markAsReadAction() const {