diff options
Diffstat (limited to 'tests/Wallabag/ImportBundle')
-rw-r--r-- | tests/Wallabag/ImportBundle/Import/PocketImportTest.php | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/tests/Wallabag/ImportBundle/Import/PocketImportTest.php b/tests/Wallabag/ImportBundle/Import/PocketImportTest.php index d6b9617e..26c6b825 100644 --- a/tests/Wallabag/ImportBundle/Import/PocketImportTest.php +++ b/tests/Wallabag/ImportBundle/Import/PocketImportTest.php | |||
@@ -12,14 +12,6 @@ use GuzzleHttp\Stream\Stream; | |||
12 | use Monolog\Logger; | 12 | use Monolog\Logger; |
13 | use Monolog\Handler\TestHandler; | 13 | use Monolog\Handler\TestHandler; |
14 | 14 | ||
15 | class PocketImportMock extends PocketImport | ||
16 | { | ||
17 | public function getAccessToken() | ||
18 | { | ||
19 | return $this->accessToken; | ||
20 | } | ||
21 | } | ||
22 | |||
23 | class PocketImportTest extends \PHPUnit_Framework_TestCase | 15 | class PocketImportTest extends \PHPUnit_Framework_TestCase |
24 | { | 16 | { |
25 | protected $token; | 17 | protected $token; |
@@ -49,7 +41,7 @@ class PocketImportTest extends \PHPUnit_Framework_TestCase | |||
49 | ->with('pocket_consumer_key') | 41 | ->with('pocket_consumer_key') |
50 | ->willReturn($consumerKey); | 42 | ->willReturn($consumerKey); |
51 | 43 | ||
52 | $pocket = new PocketImportMock( | 44 | $pocket = new PocketImport( |
53 | $this->em, | 45 | $this->em, |
54 | $this->contentProxy, | 46 | $this->contentProxy, |
55 | $config | 47 | $config |