From 1e168a2145946aa68cd18c55d16fd5d18d3ef2d2 Mon Sep 17 00:00:00 2001 From: Moritz do Rio Schulze Date: Mon, 18 May 2020 08:45:31 +0200 Subject: [PATCH] Fix typo in section 4.30.6 See gh-21485 --- .../src/main/asciidoc/spring-boot-features.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index be98f4f30e..1e7f91afa2 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -7761,7 +7761,7 @@ JUnit 5 enables a test class to be instantiated once and reused for all of the c This makes it possible to use `@BeforeClass` and `@AfterClass` annotations on non-static methods, which is a good fit for Kotlin. JUnit 5 is the default and the vintage engine is provided for backward compatibility with JUnit 4. -If you don't use it, exclude `org.junit.vintange:junit-vintage-engine`. +If you don't use it, exclude `org.junit.vintage:junit-vintage-engine`. You also need to {junit5-docs}/#writing-tests-test-instance-lifecycle-changing-default[switch test instance lifecycle to "per-class"]. To mock Kotlin classes, https://mockk.io/[MockK] is recommended.