 
 (t/deftest test-failed-auth
   (let [user-data {:username "user2"
-                   :password "user2"
+                   :password  (hashers/encrypt "user2")
                    :email "user2@uxbox.io"}
         user (with-open [conn (up/get-conn)]
                (usa/create-user conn user-data))


(t/deftest test-http-success-auth
  (let [data {:username "user1"
              :password "user1"
              :email "user1@uxbox.io"}
        user (with-open [conn (up/get-conn)]
               (usa/create-user conn data))]


(t/deftest test-success-auth
  (let [user-data {:username "user1"
                   :password  (hashers/encrypt "user1")
                   :email "user1@uxbox.io"}
        user (with-open [conn (up/get-conn)]
               (usa/create-user conn user-data))
