From 2e4f312f79229d0814c440e1f4f402d7fabbf2cb Mon Sep 17 00:00:00 2001 From: Amanda Anganes Date: Wed, 18 Apr 2012 10:55:28 -0400 Subject: [PATCH] Fixed tests - they were pointing to the wrong context file. --- .../mitre/openid/connect/repository/AddressRepositoryTest.java | 2 +- .../mitre/openid/connect/repository/EventRepositoryTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openid-connect-server/src/test/java/org/mitre/openid/connect/repository/AddressRepositoryTest.java b/openid-connect-server/src/test/java/org/mitre/openid/connect/repository/AddressRepositoryTest.java index 3799c96f0..908dc68b4 100644 --- a/openid-connect-server/src/test/java/org/mitre/openid/connect/repository/AddressRepositoryTest.java +++ b/openid-connect-server/src/test/java/org/mitre/openid/connect/repository/AddressRepositoryTest.java @@ -28,7 +28,7 @@ import org.springframework.transaction.annotation.Transactional; */ @Transactional @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 { @Autowired diff --git a/openid-connect-server/src/test/java/org/mitre/openid/connect/repository/EventRepositoryTest.java b/openid-connect-server/src/test/java/org/mitre/openid/connect/repository/EventRepositoryTest.java index f805b27c9..cf0a4b0ff 100644 --- a/openid-connect-server/src/test/java/org/mitre/openid/connect/repository/EventRepositoryTest.java +++ b/openid-connect-server/src/test/java/org/mitre/openid/connect/repository/EventRepositoryTest.java @@ -34,7 +34,7 @@ import com.google.common.collect.Lists; */ @Transactional @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 { @Autowired