Skip to content

Commit 8941702

Browse files
eduarddrentholiemansm
authored andcommitted
chore: fix tests, just call init() without arg instead of init(null)
1 parent 9ed1ee7 commit 8941702

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

graphql-java-servlet/src/test/groovy/graphql/kickstart/servlet/AbstractGraphQLHttpServletSpec.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -1120,7 +1120,7 @@ b
11201120
throw new TestException()
11211121
}.build()).build()
11221122
servlet = GraphQLHttpServlet.with(configuration)
1123-
servlet.init(null)
1123+
servlet.init()
11241124

11251125
request.setPathInfo('/schema.json')
11261126

graphql-java-servlet/src/test/groovy/graphql/kickstart/servlet/TestUtils.groovy

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class TestUtils {
6262
.with(contextBuilder)
6363
.with(executor())
6464
.build())
65-
servlet.init(null)
65+
servlet.init()
6666
return servlet
6767
}
6868

@@ -86,7 +86,7 @@ class TestUtils {
8686
listeners
8787
)
8888
)
89-
servlet.init(null)
89+
servlet.init()
9090
return servlet
9191
}
9292

0 commit comments

Comments
 (0)