 
 ;; inactive user sessionid
 (let [sessionid (.toString (java.util.UUID/randomUUID))
-      user-id (test-data/user->id :trashbird)]              ; NOTE that :trashbird is our INACTIVE test user
+      user-id (user->id :trashbird)]              ; NOTE that :trashbird is our INACTIVE test user
   (assert sessionid)
   (assert user-id)
   ;; create a new session (specifically created some time in the past so it's EXPIRED)



;; with valid user-id
(let [{:keys [id email] :as user} (test-data/fetch-user :rasta)]
  (assert user)
  (expect
    {:userid id

            [metabase.api.common :refer [*current-user-id* *current-user*]]
            [metabase.middleware.auth :refer :all]
            [metabase.models.session :refer [Session]]
            [metabase.test-data :refer :all]
            [metabase.util :as util]
            [ring.mock.request :as mock]))


;; make sure test db is setup
@test-db


;;;;  ===========================  TEST wrap-sessionid middleware  ===========================
