More clear specification on filters

This commit is contained in:
Walter Dal Mut
2014-09-14 18:01:04 +02:00
parent 859f2019b1
commit e0f70d0f3d
+1 -1
View File
@@ -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);