From 6294b03f4622eabd3ed9e682bf7f5cfa50e60685 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Basl=C3=A9?= Date: Fri, 16 Oct 2015 16:53:08 +0200 Subject: [PATCH] DATACOUCH-165 - Fix geo integration test (bad merge multiBucket) --- .../data/couchbase/repository/DimensionalQueryTests.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/integration/java/org/springframework/data/couchbase/repository/DimensionalQueryTests.java b/src/integration/java/org/springframework/data/couchbase/repository/DimensionalQueryTests.java index 3c03b340..3d4bb9a1 100644 --- a/src/integration/java/org/springframework/data/couchbase/repository/DimensionalQueryTests.java +++ b/src/integration/java/org/springframework/data/couchbase/repository/DimensionalQueryTests.java @@ -14,7 +14,7 @@ import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.couchbase.IntegrationTestApplicationConfig; import org.springframework.data.couchbase.core.CouchbaseQueryExecutionException; -import org.springframework.data.couchbase.core.CouchbaseTemplate; +import org.springframework.data.couchbase.repository.config.RepositoryOperationsMapping; import org.springframework.data.couchbase.repository.support.CouchbaseRepositoryFactory; import org.springframework.data.geo.Box; import org.springframework.data.geo.Circle; @@ -35,13 +35,13 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; public class DimensionalQueryTests { @Autowired - private CouchbaseTemplate template; + private RepositoryOperationsMapping templateMapping; private DimensionalPartyRepository repository; @Before public void setup() throws Exception { - RepositoryFactorySupport factory = new CouchbaseRepositoryFactory(template); + RepositoryFactorySupport factory = new CouchbaseRepositoryFactory(templateMapping); repository = factory.getRepository(DimensionalPartyRepository.class); }