diff --git a/test/Feature/InsertSpec.hs b/test/Feature/InsertSpec.hs index ea6badbb2..d047e70a9 100644 --- a/test/Feature/InsertSpec.hs +++ b/test/Feature/InsertSpec.hs @@ -89,7 +89,7 @@ spec = afterAll_ resetDb $ around withApp $ do it "fails with 400 and error" $ post "/simple_pk" "}{ x = 2" `shouldRespondWith` ResponseMatcher { - matchBody = Just [json| {"message":"Failed to parse JSON payload. Failed reading: satisfy"} |] + matchBody = Just [json| {"message":"Failed to parse JSON payload. Failed reading: not a valid json value"} |] , matchStatus = 400 , matchHeaders = [] }