Skip to content

Commit

Permalink
GraphQL: Update protocolVersion expected result to hard-coded 65
Browse files Browse the repository at this point in the history
Use a hard-coded number instead of the same expression as the client, so that
bugs introduced via that expression are detected.  Using the same expression as
the client can hide issues when the value is wrong in both places.

When the expected value genuinely changes, it'll be obvious.
Just change this number.

Signed-off-by: Jamie Lokier <[email protected]>
  • Loading branch information
jlokier committed Jul 27, 2021
1 parent b3cf42e commit 22241f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/graphql/queries.toml
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ mutation {
"""
result = """
{
"protocolVersion":63
"protocolVersion":65
}
"""

Expand Down

0 comments on commit 22241f3

Please sign in to comment.