test: make some tests more stable
These fail with orioledb, because it randomly returns a different order. Of course, that's allowed - ordering is not guaranteed unless specified. We should write our tests with more explicit ordering in general, even if multiple major versions show the same behavior.
This commit is contained in:
@@ -1230,7 +1230,7 @@ spec = do
|
||||
`shouldRespondWith` 200
|
||||
|
||||
it "should respond with CSV to 'text/csv' request" $
|
||||
request methodGet "/simple_pk"
|
||||
request methodGet "/simple_pk?order=k.desc"
|
||||
(acceptHdrs "text/csv; version=1") ""
|
||||
`shouldRespondWith` "k,extra\nxyyx,u\nxYYx,v"
|
||||
{ matchStatus = 200
|
||||
|
||||
Reference in New Issue
Block a user