diff --git a/test/metabase/api/session_test.clj b/test/metabase/api/session_test.clj index 722ede3721a3ed4238e2ca9664f23b26f2d79972..452a95ee2e4c3388cb26bd3c060ccc78a1f08a4f 100644 --- a/test/metabase/api/session_test.clj +++ b/test/metabase/api/session_test.clj @@ -241,6 +241,7 @@ ;; test that a user that doesn't exist with the *same* domain as the auto-create accounts domain means a new user gets created (expect - (with-temporary-setting-values [google-auth-auto-create-accounts-domain "sf-toucannery.com"] + (with-temporary-setting-values [google-auth-auto-create-accounts-domain "sf-toucannery.com" + admin-email "rasta@toucans.com"] (u/prog1 (is-session? (google-auth-fetch-or-create-user! "Rasta" "Toucan" "rasta@sf-toucannery.com")) (db/cascade-delete! User :email "rasta@sf-toucannery.com")))) ; clean up after ourselves