From e0f70d0f3d6292ac53a4d24b7a9d44fab7cf9c25 Mon Sep 17 00:00:00 2001 From: Walter Dal Mut Date: Sun, 14 Sep 2014 18:01:04 +0200 Subject: [PATCH] More clear specification on filters --- spec/InfluxDB/ClientSpec.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/InfluxDB/ClientSpec.php b/spec/InfluxDB/ClientSpec.php index 8fc4a6827..126ac4f05 100644 --- a/spec/InfluxDB/ClientSpec.php +++ b/spec/InfluxDB/ClientSpec.php @@ -87,8 +87,8 @@ class ClientSpec extends ObjectBehavior function it_should_filter_returned_data(FilterInterface $filter, QueryableInterface $adapter) { + $adapter->query(Argument::Any(), Argument::Any())->willReturn(null); $filter->filter(Argument::Any())->shouldBeCalledTimes(1)->willReturn([]); - $adapter->query(Argument::Any(), Argument::Any())->willReturn([]); $this->setFilter($filter); $this->setAdapter($adapter);