File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ def test_evaluates_mutations_serially():
94
94
}
95
95
96
96
97
- def evaluates_mutations_correctly_in_the_presense_of_a_failed_mutation ():
97
+ def test_evaluates_mutations_correctly_in_the_presense_of_a_failed_mutation ():
98
98
doc = '''mutation M {
99
99
first: immediatelyChangeTheNumber(newNumber: 1) {
100
100
theNumber
@@ -128,5 +128,5 @@ def evaluates_mutations_correctly_in_the_presense_of_a_failed_mutation():
128
128
}
129
129
assert len (result .errors ) == 2
130
130
# TODO: check error location
131
- assert result .errors [0 ]. undefined_field_message == 'Cannot change the number'
132
- assert result .errors [1 ]. undefined_field_message == 'Cannot change the number'
131
+ assert result .errors [0 ][ 'message' ] == 'Cannot change the number'
132
+ assert result .errors [1 ][ 'message' ] == 'Cannot change the number'
You can’t perform that action at this time.
0 commit comments