Skip to content

Commit 01cd8ef

Browse files
committed
fix: failing osgi unit test
1 parent cc60866 commit 01cd8ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ class OsgiGraphQLHttpServletSpec extends Specification {
286286
def servlet = new OsgiGraphQLHttpServlet()
287287
def context = Mock(GraphQLKickstartContext)
288288
context.getDataLoaderRegistry() >> new DataLoaderRegistry()
289+
context.getMapOfContext() >> new HashMap<Object, Object>()
289290
def contextBuilder = Mock(GraphQLServletContextBuilder)
290291
contextBuilder.build() >> context
291292
def request = GraphQLRequest.createIntrospectionRequest()

0 commit comments

Comments
 (0)