Revert "test: fix graphql syntax error output since JSON parser is now yajl-ruby"

This reverts commit eb41f7e85e.
This commit is contained in:
Colin Darie 2024-02-22 14:56:10 +01:00
parent f9e7d5536b
commit a8166f43d6
No known key found for this signature in database
GPG key ID: 8C76CADD40253590

View file

@ -984,7 +984,7 @@ describe API::V2::GraphqlController do
it "should fail" do
expect(gql_data).to eq(nil)
expect(gql_errors).not_to eq(nil)
expect(body[:errors].first[:message]).to eq("Variable $input of type DossierEnvoyerMessageInput! was provided invalid value")
expect(body[:errors].first[:message]).to eq("unexpected token at '{'")
expect(body[:errors].first.key?(:backtrace)).to be_falsey
end
end