From 73bd20b07870d722cdc6d66d1f43e67e340de3a6 Mon Sep 17 00:00:00 2001 From: Duukkis8D Date: Tue, 20 Nov 2018 23:51:41 +0200 Subject: [PATCH] Update osa4.md fixed server status code --- osa4.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osa4.md b/osa4.md index 265a8d7..51b9631 100644 --- a/osa4.md +++ b/osa4.md @@ -1106,7 +1106,7 @@ test('a valid note can be added ', async () => { await api .post('/api/notes') .send(newNote) - .expect(200) + .expect(201) .expect('Content-Type', /application\/json/) const response = await api