From 01a56db7d8f1cd84fb03e9270b2cf3d187b86211 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Thu, 9 May 2024 17:58:24 +0200 Subject: [PATCH] test: Make unicode insert test work in parallel mode Changing the PK here will avoid duplicate conflicts with another test. References #1799 --- test/spec/Feature/Query/InsertSpec.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/spec/Feature/Query/InsertSpec.hs b/test/spec/Feature/Query/InsertSpec.hs index 8afed24b3..4bf15d898 100644 --- a/test/spec/Feature/Query/InsertSpec.hs +++ b/test/spec/Feature/Query/InsertSpec.hs @@ -597,9 +597,9 @@ spec actualPgVersion = do it "succeeds and returns full representation" $ request methodPost "/simple_pk2?select=extra,k" [("Prefer", "return=representation")] - [json| { "k":"圍棋", "extra":"¥" } |] + [json| { "k":"棋圍", "extra":"¥" } |] `shouldRespondWith` - [json|[ { "k":"圍棋", "extra":"¥" } ]|] + [json|[ { "k":"棋圍", "extra":"¥" } ]|] { matchStatus = 201 } it "succeeds and returns usable location header" $ do