aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ImportBundle/Tests
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2016-02-11 13:39:21 +0100
committerThomas Citharel <tcit@tcit.fr>2016-02-11 13:39:21 +0100
commitda0a9e01e9b6ef52656aa47367bfc30b1905fe40 (patch)
tree173ffcbe7e14e40a26059228c73d9017d93e1e6f /src/Wallabag/ImportBundle/Tests
parent0783c99a196d1626d91119f715285150662fbe6e (diff)
downloadwallabag-da0a9e01e9b6ef52656aa47367bfc30b1905fe40.tar.gz
wallabag-da0a9e01e9b6ef52656aa47367bfc30b1905fe40.tar.zst
wallabag-da0a9e01e9b6ef52656aa47367bfc30b1905fe40.zip
CS
Diffstat (limited to 'src/Wallabag/ImportBundle/Tests')
-rw-r--r--src/Wallabag/ImportBundle/Tests/Import/WallabagV1ImportTest.php3
-rw-r--r--src/Wallabag/ImportBundle/Tests/Import/WallabagV2ImportTest.php2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/Wallabag/ImportBundle/Tests/Import/WallabagV1ImportTest.php b/src/Wallabag/ImportBundle/Tests/Import/WallabagV1ImportTest.php
index 78cc19b6..093420f9 100644
--- a/src/Wallabag/ImportBundle/Tests/Import/WallabagV1ImportTest.php
+++ b/src/Wallabag/ImportBundle/Tests/Import/WallabagV1ImportTest.php
@@ -14,7 +14,6 @@ class WallabagV1ImportTest extends \PHPUnit_Framework_TestCase
14 protected $logHandler; 14 protected $logHandler;
15 protected $contentProxy; 15 protected $contentProxy;
16 16
17
18 private function getWallabagV1Import($unsetUser = false) 17 private function getWallabagV1Import($unsetUser = false)
19 { 18 {
20 $this->user = new User(); 19 $this->user = new User();
@@ -27,7 +26,7 @@ class WallabagV1ImportTest extends \PHPUnit_Framework_TestCase
27 ->disableOriginalConstructor() 26 ->disableOriginalConstructor()
28 ->getMock(); 27 ->getMock();
29 28
30 $wallabag = new WallabagV1Import($this->em,$this->contentProxy); 29 $wallabag = new WallabagV1Import($this->em, $this->contentProxy);
31 30
32 $this->logHandler = new TestHandler(); 31 $this->logHandler = new TestHandler();
33 $logger = new Logger('test', array($this->logHandler)); 32 $logger = new Logger('test', array($this->logHandler));
diff --git a/src/Wallabag/ImportBundle/Tests/Import/WallabagV2ImportTest.php b/src/Wallabag/ImportBundle/Tests/Import/WallabagV2ImportTest.php
index 0b33afb6..ebabb8f7 100644
--- a/src/Wallabag/ImportBundle/Tests/Import/WallabagV2ImportTest.php
+++ b/src/Wallabag/ImportBundle/Tests/Import/WallabagV2ImportTest.php
@@ -26,7 +26,7 @@ class WallabagV2ImportTest extends \PHPUnit_Framework_TestCase
26 ->disableOriginalConstructor() 26 ->disableOriginalConstructor()
27 ->getMock(); 27 ->getMock();
28 28
29 $wallabag = new WallabagV2Import($this->em,$this->contentProxy); 29 $wallabag = new WallabagV2Import($this->em, $this->contentProxy);
30 30
31 $this->logHandler = new TestHandler(); 31 $this->logHandler = new TestHandler();
32 $logger = new Logger('test', array($this->logHandler)); 32 $logger = new Logger('test', array($this->logHandler));