From d59a9cd4b9708e352c8094305a53f32deb7f1e05 Mon Sep 17 00:00:00 2001
From: Tom Robinson <tlrobinson@gmail.com>
Date: Fri, 13 Jul 2018 17:15:12 -0700
Subject: [PATCH] Fix missing parent_id in tests

---
 test/metabase/api/collection_test.clj | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/test/metabase/api/collection_test.clj b/test/metabase/api/collection_test.clj
index 7db7f765046..8614ce3faef 100644
--- a/test/metabase/api/collection_test.clj
+++ b/test/metabase/api/collection_test.clj
@@ -180,6 +180,7 @@
    :personal_owner_id   (user->id :lucky)
    :effective_ancestors ()
    :effective_location  "/"
+   :parent_id           nil
    :id                  (u/get-id (collection/user->personal-collection (user->id :lucky)))
    :location            "/"})
 
@@ -336,7 +337,8 @@
    :id                  "root"
    :can_write           true
    :effective_location  nil
-   :effective_ancestors []}
+   :effective_ancestors []
+   :parent_id           nil}
   (with-some-children-of-collection nil
     ((user->client :crowberto) :get 200 "collection/root")))
 
-- 
GitLab