Skip to content

Commit cfd2e66

Browse files
committed
Fix test that was never running in test_mutations.py
1 parent 2642fd6 commit cfd2e66

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/core_execution/test_mutations.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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'

0 commit comments

Comments
 (0)