Remove non-determinism from a test.
This commit is contained in:
parent
11555a9095
commit
a4a04db98c
@ -1147,6 +1147,7 @@ main = do
|
|||||||
where_ $ exists $
|
where_ $ exists $
|
||||||
from $ \bp -> do
|
from $ \bp -> do
|
||||||
where_ (bp ^. BlogPostAuthorId ==. p ^. PersonId)
|
where_ (bp ^. BlogPostAuthorId ==. p ^. PersonId)
|
||||||
|
orderBy [asc (p ^. PersonName)]
|
||||||
return p
|
return p
|
||||||
liftIO $ ret `shouldBe` [ Entity p1k p1
|
liftIO $ ret `shouldBe` [ Entity p1k p1
|
||||||
, Entity p3k p3 ]
|
, Entity p3k p3 ]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user