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

Commit d130daf

Browse files
committed
Fix dependency setup
1 parent 2a0442f commit d130daf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

graphql-spring-boot-test-autoconfigure/src/main/java/com/graphql/spring/boot/test/GraphQLTestAutoConfiguration.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package com.graphql.spring.boot.test;
22

3+
import com.fasterxml.jackson.databind.ObjectMapper;
34
import org.springframework.boot.autoconfigure.condition.*;
45
import org.springframework.context.annotation.Bean;
56
import org.springframework.context.annotation.Configuration;
@@ -17,4 +18,9 @@ public GraphQLTestTemplate graphQLTestUtils() {
1718
return new GraphQLTestTemplate();
1819
}
1920

21+
@Bean
22+
public ObjectMapper objectMapper() {
23+
return new ObjectMapper();
24+
}
25+
2026
}

0 commit comments

Comments
 (0)