fixed broken unit tests - they were pointing to the wrong spring context file;
parent
50241e4da1
commit
8abbce3a2d
|
@ -43,7 +43,7 @@ import org.springframework.transaction.annotation.Transactional;
|
|||
*/
|
||||
@Transactional
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
@ContextConfiguration(locations={"file:src/main/webapp/WEB-INF/spring-servlet.xml", "classpath:test-context.xml"})
|
||||
@ContextConfiguration(locations={"file:src/main/webapp/WEB-INF/application-context.xml", "classpath:test-context.xml"})
|
||||
public class AddressRepositoryTest {
|
||||
|
||||
@Autowired
|
||||
|
|
|
@ -49,7 +49,7 @@ import com.google.common.collect.Lists;
|
|||
*/
|
||||
@Transactional
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
@ContextConfiguration(locations={"file:src/main/webapp/WEB-INF/spring-servlet.xml", "classpath:test-context.xml"})
|
||||
@ContextConfiguration(locations={"file:src/main/webapp/WEB-INF/application-context.xml", "classpath:test-context.xml"})
|
||||
public class EventRepositoryTest {
|
||||
|
||||
@Autowired
|
||||
|
|
Loading…
Reference in New Issue