Commit fb8ddbda584393dd1abe8a59ec68120ec3949bc6
1 parent
637ad6ca
changed doReturn for cassandraBaseTimeseriesDao.getFuture in tests
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -88,7 +88,7 @@ public class CassandraPartitionsCacheTest { | @@ -88,7 +88,7 @@ public class CassandraPartitionsCacheTest { | ||
88 | when(boundStatement.setUuid(anyInt(), any(UUID.class))).thenReturn(boundStatement); | 88 | when(boundStatement.setUuid(anyInt(), any(UUID.class))).thenReturn(boundStatement); |
89 | when(boundStatement.setLong(anyInt(), any(Long.class))).thenReturn(boundStatement); | 89 | when(boundStatement.setLong(anyInt(), any(Long.class))).thenReturn(boundStatement); |
90 | 90 | ||
91 | - doReturn(Futures.immediateFuture(null)).when(cassandraBaseTimeseriesDao).getFuture(any(TbResultSetFuture.class), any()); | 91 | + doReturn(Futures.immediateFuture(0)).when(cassandraBaseTimeseriesDao).getFuture(any(TbResultSetFuture.class), any()); |
92 | } | 92 | } |
93 | 93 | ||
94 | @Test | 94 | @Test |