Skip to content

Commit

Permalink
Merge pull request #275 from saidone75/dev
Browse files Browse the repository at this point in the history
find-sites-test
  • Loading branch information
saidone75 authored May 28, 2024
2 parents e0b56af + 7593124 commit fdc23e4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/cral/queries_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,10 @@
(let [ticket (get-in (auth/create-ticket c/user c/password) [:body :entry])
find-nodes-response (->> (model/map->FindNodesQueryParams {:term "readme"})
(queries/find-nodes ticket))]
(is (= (:status find-nodes-response) 200))))
(is (= (:status find-nodes-response) 200))))

(deftest find-sites-test
(let [ticket (get-in (auth/create-ticket c/user c/password) [:body :entry])
find-sites-response (->> (model/map->FindSitesQueryParams {:term "sws"})
(queries/find-sites ticket))]
(is (= (:status find-sites-response) 200))))

0 comments on commit fdc23e4

Please sign in to comment.