Skip to content

Missing AutoConfigureWebTestClient in "Testing with a running server" #26146

@wilkinsona

Description

@wilkinsona

From @amirensit on Gitter:

Hello
In the example of this section of spring boot testing documentation, Is there a missing @AutoConfigureWebTestClientor Am I wrong ?

It looks to me like it is missing. Removing it from WebTestClientSpringBootTestIntegrationTests causes the tests to fail at any rate. I wonder if the subsequent TestRestTemplate example is also missing something.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: declinedA suggestion or change that we don't feel we should currently applytype: documentationA documentation update

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions