bael-4197: fix bug
This commit is contained in:
parent
58b01b624a
commit
7f17253b07
|
@ -2,11 +2,15 @@ package com.baeldung.xmlapplicationcontext;
|
|||
|
||||
import com.baeldung.xmlapplicationcontext.service.EmployeeService;
|
||||
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.junit4.SpringRunner;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(classes = XmlBeanApplication.class)
|
||||
public class EmployeeServiceAppContextIntegrationTest {
|
||||
|
||||
|
|
|
@ -2,14 +2,17 @@ package com.baeldung.xmlapplicationcontext;
|
|||
|
||||
import com.baeldung.xmlapplicationcontext.service.EmployeeService;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Qualifier;
|
||||
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;
|
||||
|
||||
@SpringBootTest
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(classes = XmlBeanApplication.class)
|
||||
@ContextConfiguration(locations = "/test-context.xml")
|
||||
public class EmployeeServiceTestContextIntegrationTest {
|
||||
|
||||
|
|
Loading…
Reference in New Issue