diff --git a/rest/starbucks/src/test/java/example/stores/StoreRepositoryIntegrationTests.java b/rest/starbucks/src/test/java/example/stores/StoreRepositoryIntegrationTests.java index e0827fcd..61e5e72a 100644 --- a/rest/starbucks/src/test/java/example/stores/StoreRepositoryIntegrationTests.java +++ b/rest/starbucks/src/test/java/example/stores/StoreRepositoryIntegrationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014 the original author or authors. + * Copyright 2014-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -30,6 +30,7 @@ import org.springframework.data.geo.Distance; import org.springframework.data.geo.Metrics; import org.springframework.data.geo.Point; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; +import org.springframework.test.context.web.WebAppConfiguration; /** * Integration tests for {@link StoreRepository}. @@ -37,6 +38,7 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; * @author Oliver Gierke */ @RunWith(SpringJUnit4ClassRunner.class) +@WebAppConfiguration @SpringApplicationConfiguration(classes = StoreApp.class) public class StoreRepositoryIntegrationTests {