1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-01 17:38:38 +00:00

Retrieve all items from Pocket

5000 by 5000.
Also, retrieve newest item first.
This commit is contained in:
Jeremy Benoist 2016-09-05 07:13:09 +02:00
parent c98db1b653
commit 02f6489572
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
2 changed files with 32 additions and 15 deletions

View file

@ -12,14 +12,6 @@ use GuzzleHttp\Stream\Stream;
use Monolog\Logger;
use Monolog\Handler\TestHandler;
class PocketImportMock extends PocketImport
{
public function getAccessToken()
{
return $this->accessToken;
}
}
class PocketImportTest extends \PHPUnit_Framework_TestCase
{
protected $token;
@ -49,7 +41,7 @@ class PocketImportTest extends \PHPUnit_Framework_TestCase
->with('pocket_consumer_key')
->willReturn($consumerKey);
$pocket = new PocketImportMock(
$pocket = new PocketImport(
$this->em,
$this->contentProxy,
$config