Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Commit 2cf9fba

Browse files
committed
fix(#611): enable exception handlers in tests
1 parent c484691 commit 2cf9fba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

graphql-spring-boot-autoconfigure/src/test/java/graphql/kickstart/spring/web/boot/GraphQLErrorHandlerTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public GraphQLErrorHandlerTest() {
2929
@BeforeEach
3030
public void setUp() {
3131
System.setProperty("graphql.tools.schemaLocationPattern", "graphql/error-handler-test.graphql");
32+
System.setProperty("graphql.servlet.exception-handlers-enabled", "true");
3233
load(BaseConfiguration.class);
3334

3435
GraphQLSchema schema = getContext().getBean(GraphQLSchema.class);

0 commit comments

Comments
 (0)