aboutsummaryrefslogtreecommitdiff
path: root/test/clj/queue_api
diff options
context:
space:
mode:
Diffstat (limited to 'test/clj/queue_api')
-rw-r--r--test/clj/queue_api/test/handler.clj4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/clj/queue_api/test/handler.clj b/test/clj/queue_api/test/handler.clj
index 75ce8f3..0af1b9f 100644
--- a/test/clj/queue_api/test/handler.clj
+++ b/test/clj/queue_api/test/handler.clj
@@ -43,9 +43,7 @@
(json-body {:agent_id "51c6324b-a176-4663-8b5f-03fc2544dbe2"})
app)]
(is (= 404 (:status response))))
- (let [response (-> (request :post "/agent")
- (json-body {:agent_id "644be0ce-035d-48cb-867e-8e6de2714a8d"})
- app)]
+ (let [response (app (request :get "/agent/644be0ce-035d-48cb-867e-8e6de2714a8d"))]
(is (= 200 (:status response))))))
(deftest job-test
(testing "Job route PUT"