                    response (-> (th/create-request :get "/participants" {})
                                 participants-handler)]
                (:status response) => 401))
-       
+
        (fact "without any query parameters, lists all participants"
              (let [wallet-store (fm/create-memory-store)
                    blockchain (fb/create-in-memory-blockchain :bk)

            [freecoin.db.mongo :as fm]
            [freecoin.db.wallet :as w]
            [freecoin.blockchain :as fb]
            [freecoin.test.test-helper :as th]
            [freecoin.handlers.participants :as fp]))


                                                      (assoc :params {:uid (:uid wallet)})
                                                      (assoc :session {:signed-in-uid (:uid wallet)})))]
               (:status response) => 200
               (:body response) => (contains (t/locale [:wallet :balance]))
               )))

;;        (fact "can not be accessed when user is not signed in"))

