Skip to content

Update API to latest version of neo4j-graphql #227

Update API to latest version of neo4j-graphql

Update API to latest version of neo4j-graphql #227

GitHub Actions / Unit Test Results failed Jan 14, 2025 in 0s

1 fail, 17 skipped, 1 416 pass in 1m 23s

       4 files         4 suites   1m 23s ⏱️
1 434 tests 1 416 ✔️ 17 💤 1
1 458 runs  1 440 ✔️ 17 💤 1

Results for commit 65b1edd.

Annotations

Check warning on line 0 in org.neo4j.graphql.examples.graphqlspringboot.datafetcher.AdditionalDataFetcherTest

See this annotation in the file changed.

@github-actions github-actions / Unit Test Results

testHybridDataFetcher (org.neo4j.graphql.examples.graphqlspringboot.datafetcher.AdditionalDataFetcherTest) failed

examples/graphql-spring-boot/target/surefire-reports/TEST-org.neo4j.graphql.examples.graphqlspringboot.datafetcher.AdditionalDataFetcherTest.xml
Raw output
java.lang.AssertionError: 
Response has 1 unexpected error(s) of 1 total. If expected, please filter them out: [{message=Validation error (FieldUndefined@[movies]) : Field 'movies' in type 'Query' is undefined, locations=[{line=3, column=3}], extensions={classification=ValidationError}}]
Request: document='query {
  other
  movies(options: { limit: 3, offset: null }) {
    title
    bar
    javaData {
      name
    }
  }
}'
	at org.springframework.graphql.test.tester.DefaultGraphQlTester$DefaultRequest.lambda$assertDecorator$3(DefaultGraphQlTester.java:213)
	at org.springframework.graphql.test.tester.DefaultGraphQlTester$ResponseDelegate.verifyErrors(DefaultGraphQlTester.java:296)
	at org.springframework.graphql.test.tester.DefaultGraphQlTester$DefaultResponse.path(DefaultGraphQlTester.java:323)
	at org.neo4j.graphql.examples.graphqlspringboot.datafetcher.AdditionalDataFetcherTest.testHybridDataFetcher(AdditionalDataFetcherTest.java:67)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.AssertionError: Response has 1 unexpected error(s) of 1 total. If expected, please filter them out: [{message=Validation error (FieldUndefined@[movies]) : Field 'movies' in type 'Query' is undefined, locations=[{line=3, column=3}], extensions={classification=ValidationError}}]
	at org.springframework.test.util.AssertionErrors.fail(AssertionErrors.java:37)
	at org.springframework.test.util.AssertionErrors.assertTrue(AssertionErrors.java:70)
	at org.springframework.graphql.test.tester.DefaultGraphQlTester$ResponseDelegate.lambda$verifyErrors$2(DefaultGraphQlTester.java:297)
	at org.springframework.graphql.test.tester.DefaultGraphQlTester$DefaultRequest.lambda$assertDecorator$3(DefaultGraphQlTester.java:210)
	... 6 more