From 841f4b0313d80efa8f25f5173c88ae16fb340958 Mon Sep 17 00:00:00 2001
From: Simon Belak <sb@Hafrun.local>
Date: Fri, 20 Apr 2018 23:23:33 +0200
Subject: [PATCH] Ensure we have a user when testing candidates

---
 test/metabase/automagic_dashboards/core_test.clj | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/metabase/automagic_dashboards/core_test.clj b/test/metabase/automagic_dashboards/core_test.clj
index 01770cc010d..1b9558dec4c 100644
--- a/test/metabase/automagic_dashboards/core_test.clj
+++ b/test/metabase/automagic_dashboards/core_test.clj
@@ -151,7 +151,8 @@
 
 (expect
   (db/count Table :db_id (data/id))
-  (->> (Database (data/id)) candidate-tables first :tables count))
+  (with-rasta
+    (->> (Database (data/id)) candidate-tables first :tables count)))
 
 
 ;; Identity
-- 
GitLab