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

Test fix :wrench:

parent d5c804ec
Branches
Tags
No related merge requests found
......@@ -13,7 +13,8 @@
(defn- all-entity-names []
(set (for [ns (ns-find/find-namespaces (classpath/classpath))
:when (re-find #"^metabase\.models\." (name ns))
:when (or (re-find #"^metabase\.models\." (name ns))
(= (name ns) "metabase.db.migrations"))
:when (not (re-find #"test" (name ns)))
[_ varr] (do (require ns)
(ns-interns ns))
......@@ -22,5 +23,5 @@
(:name entity))))
(expect
(migrated-entity-names)
(all-entity-names))
(all-entity-names)
(migrated-entity-names))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment