Skip to content

Commit 562fa3a

Browse files
committed
fix test
1 parent 5771abb commit 562fa3a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/test/groovy/graphql/execution/defer/DeferSupportIntegrationTest.groovy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,9 @@ class DeferSupportIntegrationTest extends Specification {
222222

223223
// exceptions in here
224224
resultList[2].errors.size() == 3
225-
resultList[2].errors[0].getMessage() == "Exception while fetching data ([0]/goes/bang) : Bang!"
226-
resultList[2].errors[1].getMessage() == "Exception while fetching data ([1]/goes/bang) : Bang!"
227-
resultList[2].errors[2].getMessage() == "Exception while fetching data ([2]/goes/bang) : Bang!"
225+
resultList[2].errors[0].getMessage() == "Exception while fetching data (/post/c[0]/goes/bang) : Bang!"
226+
resultList[2].errors[1].getMessage() == "Exception while fetching data (/post/c[1]/goes/bang) : Bang!"
227+
resultList[2].errors[2].getMessage() == "Exception while fetching data (/post/c[2]/goes/bang) : Bang!"
228228

229229
// sub defers are sent in encountered order
230230
resultList[3].data == [[commentText: "b_comment0"], [commentText: "b_comment1"], [commentText: "b_comment2"]]

0 commit comments

Comments
 (0)