Skip to content

Commit 050480f

Browse files
hantsybclozel
authored andcommitted
fix links
1 parent ef0fe03 commit 050480f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-graphql-docs/src/docs/asciidoc/index.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,16 +165,16 @@ spring.graphql.websocket.connection-init-timeout=60s
165165

166166
=== Extension points
167167

168-
You can contribute [`WebInterceptor` beans](https://github.com/spring-projects-experimental/spring-graphql/blob/master/spring-graphql/src/main/java/org/springframework/graphql/WebInterceptor.java)
168+
You can contribute https://github.com/spring-projects-experimental/spring-graphql/blob/master/spring-graphql/src/main/java/org/springframework/graphql/WebInterceptor.java[`WebInterceptor` beans]
169169
to the application context, so as to customize the `ExecutionInput` or the `ExecutionResult` of the query.
170170
A custom `WebInterceptor` can, for example, change the HTTP request/response headers.
171171

172172
=== Testing support
173173

174174
When the `spring-boot-starter-test` dependency is on the classpath, Spring GraphQL provides a testing infrastructure for your application.
175175

176-
Spring Boot allows you to test your web application with [with a mock environment](https://docs.spring.io/spring-boot/docs/current/reference/html/features.html#features.testing.spring-boot-applications.with-mock-environment)
177-
or [with a running server](https://docs.spring.io/spring-boot/docs/current/reference/html/features.html#features.testing.spring-boot-applications.with-running-server).
176+
Spring Boot allows you to test your web application with https://docs.spring.io/spring-boot/docs/current/reference/html/features.html#features.testing.spring-boot-applications.with-mock-environment[with a mock environment]
177+
or https://docs.spring.io/spring-boot/docs/current/reference/html/features.html#features.testing.spring-boot-applications.with-running-server[with a running server].
178178
In both cases, adding the `@AutoConfigureGraphQlTester` annotation on your test class will contribute a `GraphQlTester` bean you can inject and use in your tests:
179179

180180
[source,java,indent=0,subs="verbatim,quotes"]

0 commit comments

Comments
 (0)