   (db/with-db [conn {:read-only? true}]
     (->> (user/get-users conn)
          (filter #(= "" (:name (:user/attributes %)))))))
-
-(deftest test-api-equivalence
-  (let [state (projections/cached-state)]
-    (db/with-db [conn {}]
-      (doseq [cong (congregation/get-unrestricted-congregations state)]
-        (testing (str (:congregation/id cong) " " (:congregation/name cong))
-          (is (= (-> (fetch-congregation conn state nil cong)
-                     (update :territories #(sort-by :territory/id %))
-                     (update :congregation-boundaries #(sort-by :region/id %))
-                     (update :subregions #(sort-by :region/id %))
-                     (update :card-minimap-viewports #(sort-by :region/id %))
-                     (format-for-api))
-                 (-> (fetch-congregation2 conn state nil cong)
-                     (update :territories #(sort-by :territory/id %))
-                     (update :congregation-boundaries #(sort-by :congregation-boundary/id %))
-                     (update :subregions #(sort-by :subregion/id %))
-                     (update :card-minimap-viewports #(sort-by :card-minimap-viewport/id %))
-                     (format-for-api)))))))))
-
-(test-api-equivalence)


(ns territory-bro.api
  (:require [camel-snake-kebab.core :as csk]
            [clojure.test :refer :all]
            [clojure.tools.logging :as log]
            [compojure.core :refer [defroutes GET POST ANY]]
            [liberator.core :refer [defresource]]

            [territory-bro.congregation-boundary :as congregation-boundary]
            [territory-bro.db :as db]
            [territory-bro.dispatcher :as dispatcher]
            [territory-bro.gis-user :as gis-user]
            [territory-bro.jwt :as jwt]
            [territory-bro.permissions :as permissions]
