Fixed tests - they were pointing to the wrong context file.

pull/59/head
Amanda Anganes 2012-04-18 10:55:28 -04:00
parent a9088b4999
commit 2e4f312f79
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ import org.springframework.transaction.annotation.Transactional;
*/ */
@Transactional @Transactional
@RunWith(SpringJUnit4ClassRunner.class) @RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations={"file:src/main/webapp/WEB-INF/spring/application-context.xml", "classpath:test-context.xml"}) @ContextConfiguration(locations={"file:src/main/webapp/WEB-INF/spring-servlet.xml", "classpath:test-context.xml"})
public class AddressRepositoryTest { public class AddressRepositoryTest {
@Autowired @Autowired

View File

@ -34,7 +34,7 @@ import com.google.common.collect.Lists;
*/ */
@Transactional @Transactional
@RunWith(SpringJUnit4ClassRunner.class) @RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations={"file:src/main/webapp/WEB-INF/spring/application-context.xml", "classpath:test-context.xml"}) @ContextConfiguration(locations={"file:src/main/webapp/WEB-INF/spring-servlet.xml", "classpath:test-context.xml"})
public class EventRepositoryTest { public class EventRepositoryTest {
@Autowired @Autowired