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:
Wolfgang Walther
2026-05-08 18:03:54 +02:00
parent 98f8e52b46
commit 243bbb1b61
3 changed files with 43 additions and 43 deletions
+1 -1
View File
@@ -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