From 3d64bc71c5ce1f186baf4570da6a362444180443 Mon Sep 17 00:00:00 2001 From: "Tashi D. Gyeltshen" Date: Mon, 13 May 2024 17:41:28 -0400 Subject: [PATCH] Revert back test assertion. --- tests/albums-api.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/albums-api.spec.js b/tests/albums-api.spec.js index 2c4b7bd..6e43427 100644 --- a/tests/albums-api.spec.js +++ b/tests/albums-api.spec.js @@ -82,7 +82,7 @@ describe('API /albums', () => { newAlbum: albumData }); const { status, body: { message } } = response; - expect(status).toBe(400); + expect(status).toBe(403); expect(message).toContain( 'You do not have to permission to perform this action.'); });