]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - tests/Wallabag/ImportBundle/Import/PocketImportTest.php
Retrieve all items from Pocket
[github/wallabag/wallabag.git] / tests / Wallabag / ImportBundle / Import / PocketImportTest.php
index d6b9617e4ad5efecd63b496d8838bf36676f6283..26c6b8255068700a31efac6bdef83a9f052feda7 100644 (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