Upgrades to JUnit5; fixes gh-1567
This commit is contained in:
@@ -16,15 +16,12 @@
|
||||
|
||||
package sample;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.test.context.TestPropertySource;
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
import org.springframework.test.context.web.WebAppConfiguration;
|
||||
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(classes = SampleWebsocketApplication.class)
|
||||
@WebAppConfiguration
|
||||
@TestPropertySource(properties = "sample.zipkin.enabled=false")
|
||||
|
||||
Reference in New Issue
Block a user