Skip to content
Snippets Groups Projects
Unverified Commit 4b2bd4a2 authored by Cam Saul's avatar Cam Saul Committed by GitHub
Browse files

Merge pull request #6477 from metabase/fix-randomly-failing-segment-test

Fix randomly failing segment test
parents ce845575 a0a5ae74
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