From d32204134826155678fda28f033f9ce6f58398bd Mon Sep 17 00:00:00 2001 From: Eugen Ciur <eugen@papermerge.com> Date: Thu, 24 Feb 2022 21:29:20 +0100 Subject: [PATCH] fix failing tests --- mirage/config.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/mirage/config.js b/mirage/config.js index a76acf3..ea02824 100644 --- a/mirage/config.js +++ b/mirage/config.js @@ -53,6 +53,25 @@ export default function() { } }); + this.get('/api/folders/1/', () => { + return { + "data": { + "type": "folders", + "id":"1", + "attributes": { + "title": ".inbox", + "created_at": "2021-11-24T20:54:38.833485+01:00", + "updated_at":"2021-11-24T20:54:38.833509+01:00" + }, + "relationships": { + "parent": { + "data":null + } + } + } + } + }); + this.get('/api/tags/', () => { return { "data": [ -- GitLab