DATACOUCH-305 - Adapt to API changes in repository interfaces.

This commit is contained in:
Oliver Gierke
2017-05-03 15:03:14 +02:00
parent 78bfd771b1
commit 22205678ef
18 changed files with 90 additions and 102 deletions

View File

@@ -88,7 +88,7 @@ public class RepositoryIndexUsageTest {
@Test
public void testFindAllKeysUsesViewWithConfiguredConsistency() {
String expectedQueryParams = "ViewQuery(string/all){params=\"reduce=false&stale=false\", keys=\"[\"someKey\"]\"}";
repository.findAll(Collections.singleton("someKey"));
repository.findAllById(Collections.singleton("someKey"));
verify(couchbaseOperations, never()).queryView(any(ViewQuery.class));
verify(couchbaseOperations, never()).findByN1QL(any(N1qlQuery.class), any(Class.class));