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

Commit b3971bb

Browse files
committed
Use default cors methods
1 parent e4bb148 commit b3971bb

File tree

1 file changed

+1
-1
lines changed
  • graphql-spring-boot-autoconfigure/src/test/java/graphql/kickstart/spring/web/boot

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
@ExtendWith(SpringExtension.class)
2727
@AutoConfigureMockMvc
2828
@ImportAutoConfiguration({JacksonAutoConfiguration.class, GraphQLWebAutoConfiguration.class})
29-
@SpringBootTest(properties = {"debug=true", "graphql.servlet.mapping=/graphql", "graphql.servlet.cors.allowed-origins=https://trusted.com", "graphql.servlet.cors.allowed-methods=GET,HEAD,POST"})
29+
@SpringBootTest(properties = {"debug=true", "graphql.servlet.mapping=/graphql", "graphql.servlet.cors.allowed-origins=https://trusted.com"})
3030
class CorsTest {
3131

3232
@Autowired

0 commit comments

Comments
 (0)