bael-4197: add @ContextConfiguration for loading application context
This commit is contained in:
parent
7f17253b07
commit
fd8b39247c
|
@ -5,6 +5,7 @@ import org.junit.Test;
|
|||
import org.junit.runner.RunWith;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.test.context.ContextConfiguration;
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
@ -12,6 +13,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
|||
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(classes = XmlBeanApplication.class)
|
||||
//@ContextConfiguration(locations = "file:src/main/webapp/WEB-INF/application-context.xml")
|
||||
public class EmployeeServiceAppContextIntegrationTest {
|
||||
|
||||
@Autowired
|
||||
|
|
Loading…
Reference in New Issue