diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2017-07-03 13:39:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-03 13:39:54 +0200 |
commit | 71e1cbc8eb5928d393b0772055d6b711e90a09b3 (patch) | |
tree | 71795eadcf13fda9198b8cd9a3da26d51826bbd9 /tests/Wallabag/ImportBundle/Command | |
parent | 822c877949aff8ae57677671115f8f4fc69588d5 (diff) | |
parent | 38520658addc217f127b0627ea28dcf8d6e6178c (diff) | |
download | wallabag-71e1cbc8eb5928d393b0772055d6b711e90a09b3.tar.gz wallabag-71e1cbc8eb5928d393b0772055d6b711e90a09b3.tar.zst wallabag-71e1cbc8eb5928d393b0772055d6b711e90a09b3.zip |
Merge pull request #3258 from wallabag/cs-fixer
Add a real configuration for CS-Fixer
Diffstat (limited to 'tests/Wallabag/ImportBundle/Command')
-rw-r--r-- | tests/Wallabag/ImportBundle/Command/ImportCommandTest.php | 6 | ||||
-rw-r--r-- | tests/Wallabag/ImportBundle/Command/RedisWorkerCommandTest.php | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/Wallabag/ImportBundle/Command/ImportCommandTest.php b/tests/Wallabag/ImportBundle/Command/ImportCommandTest.php index f507563c..8bed180a 100644 --- a/tests/Wallabag/ImportBundle/Command/ImportCommandTest.php +++ b/tests/Wallabag/ImportBundle/Command/ImportCommandTest.php | |||
@@ -4,8 +4,8 @@ namespace Tests\Wallabag\ImportBundle\Command; | |||
4 | 4 | ||
5 | use Symfony\Bundle\FrameworkBundle\Console\Application; | 5 | use Symfony\Bundle\FrameworkBundle\Console\Application; |
6 | use Symfony\Component\Console\Tester\CommandTester; | 6 | use Symfony\Component\Console\Tester\CommandTester; |
7 | use Wallabag\ImportBundle\Command\ImportCommand; | ||
8 | use Tests\Wallabag\CoreBundle\WallabagCoreTestCase; | 7 | use Tests\Wallabag\CoreBundle\WallabagCoreTestCase; |
8 | use Wallabag\ImportBundle\Command\ImportCommand; | ||
9 | 9 | ||
10 | class ImportCommandTest extends WallabagCoreTestCase | 10 | class ImportCommandTest extends WallabagCoreTestCase |
11 | { | 11 | { |
@@ -74,7 +74,7 @@ class ImportCommandTest extends WallabagCoreTestCase | |||
74 | $tester->execute([ | 74 | $tester->execute([ |
75 | 'command' => $command->getName(), | 75 | 'command' => $command->getName(), |
76 | 'username' => 'admin', | 76 | 'username' => 'admin', |
77 | 'filepath' => $application->getKernel()->getContainer()->getParameter('kernel.root_dir').'/../tests/Wallabag/ImportBundle/fixtures/wallabag-v2-read.json', | 77 | 'filepath' => $application->getKernel()->getContainer()->getParameter('kernel.root_dir') . '/../tests/Wallabag/ImportBundle/fixtures/wallabag-v2-read.json', |
78 | '--importer' => 'v2', | 78 | '--importer' => 'v2', |
79 | ]); | 79 | ]); |
80 | 80 | ||
@@ -93,7 +93,7 @@ class ImportCommandTest extends WallabagCoreTestCase | |||
93 | $tester->execute([ | 93 | $tester->execute([ |
94 | 'command' => $command->getName(), | 94 | 'command' => $command->getName(), |
95 | 'username' => 1, | 95 | 'username' => 1, |
96 | 'filepath' => $application->getKernel()->getContainer()->getParameter('kernel.root_dir').'/../tests/Wallabag/ImportBundle/fixtures/wallabag-v2-read.json', | 96 | 'filepath' => $application->getKernel()->getContainer()->getParameter('kernel.root_dir') . '/../tests/Wallabag/ImportBundle/fixtures/wallabag-v2-read.json', |
97 | '--useUserId' => true, | 97 | '--useUserId' => true, |
98 | '--importer' => 'v2', | 98 | '--importer' => 'v2', |
99 | ]); | 99 | ]); |
diff --git a/tests/Wallabag/ImportBundle/Command/RedisWorkerCommandTest.php b/tests/Wallabag/ImportBundle/Command/RedisWorkerCommandTest.php index e5e251a0..af62550c 100644 --- a/tests/Wallabag/ImportBundle/Command/RedisWorkerCommandTest.php +++ b/tests/Wallabag/ImportBundle/Command/RedisWorkerCommandTest.php | |||
@@ -2,11 +2,11 @@ | |||
2 | 2 | ||
3 | namespace Tests\Wallabag\ImportBundle\Command; | 3 | namespace Tests\Wallabag\ImportBundle\Command; |
4 | 4 | ||
5 | use M6Web\Component\RedisMock\RedisMockFactory; | ||
5 | use Symfony\Bundle\FrameworkBundle\Console\Application; | 6 | use Symfony\Bundle\FrameworkBundle\Console\Application; |
6 | use Symfony\Component\Console\Tester\CommandTester; | 7 | use Symfony\Component\Console\Tester\CommandTester; |
7 | use Wallabag\ImportBundle\Command\RedisWorkerCommand; | ||
8 | use Tests\Wallabag\CoreBundle\WallabagCoreTestCase; | 8 | use Tests\Wallabag\CoreBundle\WallabagCoreTestCase; |
9 | use M6Web\Component\RedisMock\RedisMockFactory; | 9 | use Wallabag\ImportBundle\Command\RedisWorkerCommand; |
10 | 10 | ||
11 | class RedisWorkerCommandTest extends WallabagCoreTestCase | 11 | class RedisWorkerCommandTest extends WallabagCoreTestCase |
12 | { | 12 | { |