Introduce GraphQL media type static final
See gh-45487 See gh-45494
This commit is contained in:
committed by
Phillip Webb
parent
36fb1e9b4b
commit
564bfeef95
@@ -224,8 +224,8 @@ class GraphQlWebMvcAutoConfigurationTests {
|
||||
.content("{\"query\": \"" + query + "\"}"))
|
||||
.satisfies((result) -> assertThat(result).hasStatusOk()
|
||||
.headers()
|
||||
.containsEntry(HttpHeaders.ACCESS_CONTROL_ALLOW_ORIGIN, List.of("https://example.com"))
|
||||
.containsEntry(HttpHeaders.ACCESS_CONTROL_ALLOW_CREDENTIALS, List.of("true")));
|
||||
.hasValue(HttpHeaders.ACCESS_CONTROL_ALLOW_ORIGIN, "https://example.com")
|
||||
.hasValue(HttpHeaders.ACCESS_CONTROL_ALLOW_CREDENTIALS, "true"));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user