зеркало из https://github.com/nextcloud/news.git
also test for limit parameter
This commit is contained in:
Родитель
381f8efd10
Коммит
afe9467f17
|
@ -348,8 +348,8 @@ class ItemMapperTest extends \OCA\AppFramework\Utility\MapperTestUtility {
|
|||
|
||||
$this->api->expects($this->at(1))
|
||||
->method('prepareQuery')
|
||||
->with($this->equalTo($sql2))
|
||||
->will(($this->returnValue($query2)));
|
||||
->with($this->equalTo($sql2), $this->equalTo(1))
|
||||
->will($this->returnValue($query2));
|
||||
|
||||
$result = $this->mapper->deleteReadOlderThanThreshold($threshold);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче