Skip to content
Snippets Groups Projects
Unverified Commit a0a5ae74 authored by Cam Saul's avatar Cam Saul
Browse files

Fix randomly failing segment test

parent ce845575
No related branches found
No related tags found
No related merge requests found
......@@ -363,9 +363,9 @@
;;; GET /api/segement/
(tt/expect-with-temp [Segment [segment-1]
Segment [segment-2]
Segment [_ {:is_active false}]] ; inactive segments shouldn't show up
(tt/expect-with-temp [Segment [segment-1 {:name "Segment 1"}]
Segment [segment-2 {:name "Segment 2"}]
Segment [_ {:is_active false}]] ; inactive segments shouldn't show up
(tu/mappify (hydrate [segment-1
segment-2] :creator))
((user->client :rasta) :get 200 "segment/"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment