bael-4197: add @ContextConfiguration for loading application context

This commit is contained in:
sharifi 2022-01-02 13:09:06 +03:30
parent 7f17253b07
commit fd8b39247c
1 changed files with 2 additions and 0 deletions

View File

@ -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