fixed broken unit tests - they were pointing to the wrong spring context file;

pull/105/merge
Amanda Anganes 2012-07-06 14:22:06 -04:00
parent 50241e4da1
commit 8abbce3a2d
2 changed files with 2 additions and 2 deletions

View File

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

View File

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