diff --git a/test/Feature/InsertSpec.hs b/test/Feature/InsertSpec.hs index 1ba540415..6678fba7f 100644 --- a/test/Feature/InsertSpec.hs +++ b/test/Feature/InsertSpec.hs @@ -72,7 +72,7 @@ spec = around appWithFixture $ do it "fails with 400 and error" $ post "/simple_pk" "}{ x = 2" `shouldRespondWith` ResponseMatcher { - matchBody = Just [json| {"error":"Failed to parse JSON payload. Failed reading: satisfyElem"} |] + matchBody = Just [json| {"error":"Failed to parse JSON payload. Failed reading: satisfy"} |] , matchStatus = 400 , matchHeaders = [] }