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():
9494 }
9595
9696
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 ():
9898 doc = '''mutation M {
9999 first: immediatelyChangeTheNumber(newNumber: 1) {
100100 theNumber
@@ -128,5 +128,5 @@ def evaluates_mutations_correctly_in_the_presense_of_a_failed_mutation():
128128 }
129129 assert len (result .errors ) == 2
130130 # 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