Spring 전환 최소 실행 골격 구현 #4
1 changed files with 15 additions and 0 deletions
15
src/test/java/com/example/demo/DemoApplicationTests.java
Normal file
15
src/test/java/com/example/demo/DemoApplicationTests.java
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
package com.example.demo;
|
||||||
|
|
||||||
|
import org.junit.jupiter.api.Test;
|
||||||
|
import org.springframework.boot.test.context.SpringBootTest;
|
||||||
|
import org.springframework.test.context.TestPropertySource;
|
||||||
|
|
||||||
|
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
|
||||||
|
@TestPropertySource(properties = {"spring.main.allow-bean-definition-overriding=true"})
|
||||||
|
class DemoApplicationTests {
|
||||||
|
|
||||||
|
@Test
|
||||||
|
void contextLoads() {
|
||||||
|
// Verify Spring context loads successfully
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue