aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/ImportBundle/Import
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2017-12-16 22:17:42 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2017-12-18 13:29:33 +0100
commitbd91bd5c32dcec997e1cc1aff93f585dac093742 (patch)
tree02be54155fe8ffb87d73a225bec6555f86056210 /tests/Wallabag/ImportBundle/Import
parent3ccf086391588b1eb0f6d7bcc420ed529f7fdd8f (diff)
downloadwallabag-bd91bd5c32dcec997e1cc1aff93f585dac093742.tar.gz
wallabag-bd91bd5c32dcec997e1cc1aff93f585dac093742.tar.zst
wallabag-bd91bd5c32dcec997e1cc1aff93f585dac093742.zip
Use namespaced PHPUnit classes
Diffstat (limited to 'tests/Wallabag/ImportBundle/Import')
-rw-r--r--tests/Wallabag/ImportBundle/Import/ChromeImportTest.php3
-rw-r--r--tests/Wallabag/ImportBundle/Import/FirefoxImportTest.php3
-rw-r--r--tests/Wallabag/ImportBundle/Import/ImportChainTest.php3
-rw-r--r--tests/Wallabag/ImportBundle/Import/ImportCompilerPassTest.php3
-rw-r--r--tests/Wallabag/ImportBundle/Import/InstapaperImportTest.php3
-rw-r--r--tests/Wallabag/ImportBundle/Import/PocketImportTest.php3
-rw-r--r--tests/Wallabag/ImportBundle/Import/ReadabilityImportTest.php3
-rw-r--r--tests/Wallabag/ImportBundle/Import/WallabagV1ImportTest.php3
-rw-r--r--tests/Wallabag/ImportBundle/Import/WallabagV2ImportTest.php3
9 files changed, 18 insertions, 9 deletions
diff --git a/tests/Wallabag/ImportBundle/Import/ChromeImportTest.php b/tests/Wallabag/ImportBundle/Import/ChromeImportTest.php
index 5559ac7e..12a789e0 100644
--- a/tests/Wallabag/ImportBundle/Import/ChromeImportTest.php
+++ b/tests/Wallabag/ImportBundle/Import/ChromeImportTest.php
@@ -5,13 +5,14 @@ namespace Tests\Wallabag\ImportBundle\Import;
5use M6Web\Component\RedisMock\RedisMockFactory; 5use M6Web\Component\RedisMock\RedisMockFactory;
6use Monolog\Handler\TestHandler; 6use Monolog\Handler\TestHandler;
7use Monolog\Logger; 7use Monolog\Logger;
8use PHPUnit\Framework\TestCase;
8use Simpleue\Queue\RedisQueue; 9use Simpleue\Queue\RedisQueue;
9use Wallabag\CoreBundle\Entity\Entry; 10use Wallabag\CoreBundle\Entity\Entry;
10use Wallabag\ImportBundle\Import\ChromeImport; 11use Wallabag\ImportBundle\Import\ChromeImport;
11use Wallabag\ImportBundle\Redis\Producer; 12use Wallabag\ImportBundle\Redis\Producer;
12use Wallabag\UserBundle\Entity\User; 13use Wallabag\UserBundle\Entity\User;
13 14
14class ChromeImportTest extends \PHPUnit_Framework_TestCase 15class ChromeImportTest extends TestCase
15{ 16{
16 protected $user; 17 protected $user;
17 protected $em; 18 protected $em;
diff --git a/tests/Wallabag/ImportBundle/Import/FirefoxImportTest.php b/tests/Wallabag/ImportBundle/Import/FirefoxImportTest.php
index a1783bfc..eaf69377 100644
--- a/tests/Wallabag/ImportBundle/Import/FirefoxImportTest.php
+++ b/tests/Wallabag/ImportBundle/Import/FirefoxImportTest.php
@@ -5,13 +5,14 @@ namespace Tests\Wallabag\ImportBundle\Import;
5use M6Web\Component\RedisMock\RedisMockFactory; 5use M6Web\Component\RedisMock\RedisMockFactory;
6use Monolog\Handler\TestHandler; 6use Monolog\Handler\TestHandler;
7use Monolog\Logger; 7use Monolog\Logger;
8use PHPUnit\Framework\TestCase;
8use Simpleue\Queue\RedisQueue; 9use Simpleue\Queue\RedisQueue;
9use Wallabag\CoreBundle\Entity\Entry; 10use Wallabag\CoreBundle\Entity\Entry;
10use Wallabag\ImportBundle\Import\FirefoxImport; 11use Wallabag\ImportBundle\Import\FirefoxImport;
11use Wallabag\ImportBundle\Redis\Producer; 12use Wallabag\ImportBundle\Redis\Producer;
12use Wallabag\UserBundle\Entity\User; 13use Wallabag\UserBundle\Entity\User;
13 14
14class FirefoxImportTest extends \PHPUnit_Framework_TestCase 15class FirefoxImportTest extends TestCase
15{ 16{
16 protected $user; 17 protected $user;
17 protected $em; 18 protected $em;
diff --git a/tests/Wallabag/ImportBundle/Import/ImportChainTest.php b/tests/Wallabag/ImportBundle/Import/ImportChainTest.php
index a9a9915e..f27826f4 100644
--- a/tests/Wallabag/ImportBundle/Import/ImportChainTest.php
+++ b/tests/Wallabag/ImportBundle/Import/ImportChainTest.php
@@ -2,9 +2,10 @@
2 2
3namespace Tests\Wallabag\ImportBundle\Import; 3namespace Tests\Wallabag\ImportBundle\Import;
4 4
5use PHPUnit\Framework\TestCase;
5use Wallabag\ImportBundle\Import\ImportChain; 6use Wallabag\ImportBundle\Import\ImportChain;
6 7
7class ImportChainTest extends \PHPUnit_Framework_TestCase 8class ImportChainTest extends TestCase
8{ 9{
9 public function testGetAll() 10 public function testGetAll()
10 { 11 {
diff --git a/tests/Wallabag/ImportBundle/Import/ImportCompilerPassTest.php b/tests/Wallabag/ImportBundle/Import/ImportCompilerPassTest.php
index 207054f4..e0e90ae3 100644
--- a/tests/Wallabag/ImportBundle/Import/ImportCompilerPassTest.php
+++ b/tests/Wallabag/ImportBundle/Import/ImportCompilerPassTest.php
@@ -2,10 +2,11 @@
2 2
3namespace Tests\Wallabag\ImportBundle\Import; 3namespace Tests\Wallabag\ImportBundle\Import;
4 4
5use PHPUnit\Framework\TestCase;
5use Symfony\Component\DependencyInjection\ContainerBuilder; 6use Symfony\Component\DependencyInjection\ContainerBuilder;
6use Wallabag\ImportBundle\Import\ImportCompilerPass; 7use Wallabag\ImportBundle\Import\ImportCompilerPass;
7 8
8class ImportCompilerPassTest extends \PHPUnit_Framework_TestCase 9class ImportCompilerPassTest extends TestCase
9{ 10{
10 public function testProcessNoDefinition() 11 public function testProcessNoDefinition()
11 { 12 {
diff --git a/tests/Wallabag/ImportBundle/Import/InstapaperImportTest.php b/tests/Wallabag/ImportBundle/Import/InstapaperImportTest.php
index 274dc326..b5163fad 100644
--- a/tests/Wallabag/ImportBundle/Import/InstapaperImportTest.php
+++ b/tests/Wallabag/ImportBundle/Import/InstapaperImportTest.php
@@ -5,13 +5,14 @@ namespace Tests\Wallabag\ImportBundle\Import;
5use M6Web\Component\RedisMock\RedisMockFactory; 5use M6Web\Component\RedisMock\RedisMockFactory;
6use Monolog\Handler\TestHandler; 6use Monolog\Handler\TestHandler;
7use Monolog\Logger; 7use Monolog\Logger;
8use PHPUnit\Framework\TestCase;
8use Simpleue\Queue\RedisQueue; 9use Simpleue\Queue\RedisQueue;
9use Wallabag\CoreBundle\Entity\Entry; 10use Wallabag\CoreBundle\Entity\Entry;
10use Wallabag\ImportBundle\Import\InstapaperImport; 11use Wallabag\ImportBundle\Import\InstapaperImport;
11use Wallabag\ImportBundle\Redis\Producer; 12use Wallabag\ImportBundle\Redis\Producer;
12use Wallabag\UserBundle\Entity\User; 13use Wallabag\UserBundle\Entity\User;
13 14
14class InstapaperImportTest extends \PHPUnit_Framework_TestCase 15class InstapaperImportTest extends TestCase
15{ 16{
16 protected $user; 17 protected $user;
17 protected $em; 18 protected $em;
diff --git a/tests/Wallabag/ImportBundle/Import/PocketImportTest.php b/tests/Wallabag/ImportBundle/Import/PocketImportTest.php
index fe59f867..baa5d905 100644
--- a/tests/Wallabag/ImportBundle/Import/PocketImportTest.php
+++ b/tests/Wallabag/ImportBundle/Import/PocketImportTest.php
@@ -9,6 +9,7 @@ use GuzzleHttp\Subscriber\Mock;
9use M6Web\Component\RedisMock\RedisMockFactory; 9use M6Web\Component\RedisMock\RedisMockFactory;
10use Monolog\Handler\TestHandler; 10use Monolog\Handler\TestHandler;
11use Monolog\Logger; 11use Monolog\Logger;
12use PHPUnit\Framework\TestCase;
12use Simpleue\Queue\RedisQueue; 13use Simpleue\Queue\RedisQueue;
13use Wallabag\CoreBundle\Entity\Config; 14use Wallabag\CoreBundle\Entity\Config;
14use Wallabag\CoreBundle\Entity\Entry; 15use Wallabag\CoreBundle\Entity\Entry;
@@ -16,7 +17,7 @@ use Wallabag\ImportBundle\Import\PocketImport;
16use Wallabag\ImportBundle\Redis\Producer; 17use Wallabag\ImportBundle\Redis\Producer;
17use Wallabag\UserBundle\Entity\User; 18use Wallabag\UserBundle\Entity\User;
18 19
19class PocketImportTest extends \PHPUnit_Framework_TestCase 20class PocketImportTest extends TestCase
20{ 21{
21 protected $token; 22 protected $token;
22 protected $user; 23 protected $user;
diff --git a/tests/Wallabag/ImportBundle/Import/ReadabilityImportTest.php b/tests/Wallabag/ImportBundle/Import/ReadabilityImportTest.php
index 1822cdaa..e55a56e0 100644
--- a/tests/Wallabag/ImportBundle/Import/ReadabilityImportTest.php
+++ b/tests/Wallabag/ImportBundle/Import/ReadabilityImportTest.php
@@ -5,13 +5,14 @@ namespace Tests\Wallabag\ImportBundle\Import;
5use M6Web\Component\RedisMock\RedisMockFactory; 5use M6Web\Component\RedisMock\RedisMockFactory;
6use Monolog\Handler\TestHandler; 6use Monolog\Handler\TestHandler;
7use Monolog\Logger; 7use Monolog\Logger;
8use PHPUnit\Framework\TestCase;
8use Simpleue\Queue\RedisQueue; 9use Simpleue\Queue\RedisQueue;
9use Wallabag\CoreBundle\Entity\Entry; 10use Wallabag\CoreBundle\Entity\Entry;
10use Wallabag\ImportBundle\Import\ReadabilityImport; 11use Wallabag\ImportBundle\Import\ReadabilityImport;
11use Wallabag\ImportBundle\Redis\Producer; 12use Wallabag\ImportBundle\Redis\Producer;
12use Wallabag\UserBundle\Entity\User; 13use Wallabag\UserBundle\Entity\User;
13 14
14class ReadabilityImportTest extends \PHPUnit_Framework_TestCase 15class ReadabilityImportTest extends TestCase
15{ 16{
16 protected $user; 17 protected $user;
17 protected $em; 18 protected $em;
diff --git a/tests/Wallabag/ImportBundle/Import/WallabagV1ImportTest.php b/tests/Wallabag/ImportBundle/Import/WallabagV1ImportTest.php
index 822ad694..4e9f472d 100644
--- a/tests/Wallabag/ImportBundle/Import/WallabagV1ImportTest.php
+++ b/tests/Wallabag/ImportBundle/Import/WallabagV1ImportTest.php
@@ -5,13 +5,14 @@ namespace Tests\Wallabag\ImportBundle\Import;
5use M6Web\Component\RedisMock\RedisMockFactory; 5use M6Web\Component\RedisMock\RedisMockFactory;
6use Monolog\Handler\TestHandler; 6use Monolog\Handler\TestHandler;
7use Monolog\Logger; 7use Monolog\Logger;
8use PHPUnit\Framework\TestCase;
8use Simpleue\Queue\RedisQueue; 9use Simpleue\Queue\RedisQueue;
9use Wallabag\CoreBundle\Entity\Entry; 10use Wallabag\CoreBundle\Entity\Entry;
10use Wallabag\ImportBundle\Import\WallabagV1Import; 11use Wallabag\ImportBundle\Import\WallabagV1Import;
11use Wallabag\ImportBundle\Redis\Producer; 12use Wallabag\ImportBundle\Redis\Producer;
12use Wallabag\UserBundle\Entity\User; 13use Wallabag\UserBundle\Entity\User;
13 14
14class WallabagV1ImportTest extends \PHPUnit_Framework_TestCase 15class WallabagV1ImportTest extends TestCase
15{ 16{
16 protected $user; 17 protected $user;
17 protected $em; 18 protected $em;
diff --git a/tests/Wallabag/ImportBundle/Import/WallabagV2ImportTest.php b/tests/Wallabag/ImportBundle/Import/WallabagV2ImportTest.php
index fab50a45..68a5d1ad 100644
--- a/tests/Wallabag/ImportBundle/Import/WallabagV2ImportTest.php
+++ b/tests/Wallabag/ImportBundle/Import/WallabagV2ImportTest.php
@@ -5,13 +5,14 @@ namespace Tests\Wallabag\ImportBundle\Import;
5use M6Web\Component\RedisMock\RedisMockFactory; 5use M6Web\Component\RedisMock\RedisMockFactory;
6use Monolog\Handler\TestHandler; 6use Monolog\Handler\TestHandler;
7use Monolog\Logger; 7use Monolog\Logger;
8use PHPUnit\Framework\TestCase;
8use Simpleue\Queue\RedisQueue; 9use Simpleue\Queue\RedisQueue;
9use Wallabag\CoreBundle\Entity\Entry; 10use Wallabag\CoreBundle\Entity\Entry;
10use Wallabag\ImportBundle\Import\WallabagV2Import; 11use Wallabag\ImportBundle\Import\WallabagV2Import;
11use Wallabag\ImportBundle\Redis\Producer; 12use Wallabag\ImportBundle\Redis\Producer;
12use Wallabag\UserBundle\Entity\User; 13use Wallabag\UserBundle\Entity\User;
13 14
14class WallabagV2ImportTest extends \PHPUnit_Framework_TestCase 15class WallabagV2ImportTest extends TestCase
15{ 16{
16 protected $user; 17 protected $user;
17 protected $em; 18 protected $em;