Skip to content

Commit

Permalink
fix broken test by setting the include-message property to 'always'
Browse files Browse the repository at this point in the history
  • Loading branch information
datagitlies authored and remmeier committed Dec 1, 2021
1 parent 408920f commit 9824505
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
import org.springframework.web.client.RestTemplate;

@RunWith(SpringRunner.class)
@SpringBootTest(classes = BasicSpringBoot2Application.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
@SpringBootTest(classes = BasicSpringBoot2Application.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, properties = "server.error.include-message=always")
@DirtiesContext
public class BasicSpringBoot2Test {

Expand Down

0 comments on commit 9824505

Please sign in to comment.