Remove public modifier on JUnit5 lifecycle methods
See gh-17292
This commit is contained in:
@@ -52,7 +52,7 @@ class SampleIntegrationApplicationTests {
|
||||
private ConfigurableApplicationContext context;
|
||||
|
||||
@AfterEach
|
||||
public void stop() {
|
||||
void stop() {
|
||||
if (this.context != null) {
|
||||
this.context.close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user