Skip to content
Snippets Groups Projects
Commit b62e1d87 authored by Cam Saül's avatar Cam Saül Committed by GitHub
Browse files

Merge pull request #2970 from metabase/fix-ci-test-failure

Fix CI Test failures
parents 32b3332d e96f14bf
Branches
Tags
No related merge requests found
......@@ -43,7 +43,8 @@
[& {:keys [subject recipients message-type message]}]
{:pre [(string? subject)
(sequential? recipients)
(every? u/is-email? recipients)
(or (every? u/is-email? recipients)
(log/error "recipients contains an invalid email:" recipients))
(contains? #{:text :html :attachments} message-type)
(if (= message-type :attachments) (sequential? message) (string? message))]}
(try
......
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment