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/CoreBundle/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/CoreBundle/Command')
4 files changed, 13 insertions, 13 deletions
diff --git a/tests/Wallabag/CoreBundle/Command/CleanDuplicatesCommandTest.php b/tests/Wallabag/CoreBundle/Command/CleanDuplicatesCommandTest.php index e6e57f30..38e8dd07 100644 --- a/tests/Wallabag/CoreBundle/Command/CleanDuplicatesCommandTest.php +++ b/tests/Wallabag/CoreBundle/Command/CleanDuplicatesCommandTest.php | |||
@@ -4,8 +4,8 @@ namespace Tests\Wallabag\CoreBundle\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\CoreBundle\Command\CleanDuplicatesCommand; | ||
8 | use Tests\Wallabag\CoreBundle\WallabagCoreTestCase; | 7 | use Tests\Wallabag\CoreBundle\WallabagCoreTestCase; |
8 | use Wallabag\CoreBundle\Command\CleanDuplicatesCommand; | ||
9 | use Wallabag\CoreBundle\Entity\Entry; | 9 | use Wallabag\CoreBundle\Entity\Entry; |
10 | 10 | ||
11 | class CleanDuplicatesCommandTest extends WallabagCoreTestCase | 11 | class CleanDuplicatesCommandTest extends WallabagCoreTestCase |
diff --git a/tests/Wallabag/CoreBundle/Command/ExportCommandTest.php b/tests/Wallabag/CoreBundle/Command/ExportCommandTest.php index 2eebf39b..25de2730 100644 --- a/tests/Wallabag/CoreBundle/Command/ExportCommandTest.php +++ b/tests/Wallabag/CoreBundle/Command/ExportCommandTest.php | |||
@@ -4,8 +4,8 @@ namespace Tests\Wallabag\CoreBundle\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\CoreBundle\Command\ExportCommand; | ||
8 | use Tests\Wallabag\CoreBundle\WallabagCoreTestCase; | 7 | use Tests\Wallabag\CoreBundle\WallabagCoreTestCase; |
8 | use Wallabag\CoreBundle\Command\ExportCommand; | ||
9 | 9 | ||
10 | class ExportCommandTest extends WallabagCoreTestCase | 10 | class ExportCommandTest extends WallabagCoreTestCase |
11 | { | 11 | { |
diff --git a/tests/Wallabag/CoreBundle/Command/InstallCommandTest.php b/tests/Wallabag/CoreBundle/Command/InstallCommandTest.php index 94fc0b94..f684a206 100644 --- a/tests/Wallabag/CoreBundle/Command/InstallCommandTest.php +++ b/tests/Wallabag/CoreBundle/Command/InstallCommandTest.php | |||
@@ -11,9 +11,9 @@ use Symfony\Bundle\FrameworkBundle\Console\Application; | |||
11 | use Symfony\Component\Console\Input\ArrayInput; | 11 | use Symfony\Component\Console\Input\ArrayInput; |
12 | use Symfony\Component\Console\Output\NullOutput; | 12 | use Symfony\Component\Console\Output\NullOutput; |
13 | use Symfony\Component\Console\Tester\CommandTester; | 13 | use Symfony\Component\Console\Tester\CommandTester; |
14 | use Wallabag\CoreBundle\Command\InstallCommand; | ||
15 | use Tests\Wallabag\CoreBundle\Mock\InstallCommandMock; | 14 | use Tests\Wallabag\CoreBundle\Mock\InstallCommandMock; |
16 | use Tests\Wallabag\CoreBundle\WallabagCoreTestCase; | 15 | use Tests\Wallabag\CoreBundle\WallabagCoreTestCase; |
16 | use Wallabag\CoreBundle\Command\InstallCommand; | ||
17 | 17 | ||
18 | class InstallCommandTest extends WallabagCoreTestCase | 18 | class InstallCommandTest extends WallabagCoreTestCase |
19 | { | 19 | { |
@@ -86,9 +86,9 @@ class InstallCommandTest extends WallabagCoreTestCase | |||
86 | $tester->setInputs([ | 86 | $tester->setInputs([ |
87 | 'y', // dropping database | 87 | 'y', // dropping database |
88 | 'y', // create super admin | 88 | 'y', // create super admin |
89 | 'username_'.uniqid('', true), // username | 89 | 'username_' . uniqid('', true), // username |
90 | 'password_'.uniqid('', true), // password | 90 | 'password_' . uniqid('', true), // password |
91 | 'email_'.uniqid('', true).'@wallabag.it', // email | 91 | 'email_' . uniqid('', true) . '@wallabag.it', // email |
92 | ]); | 92 | ]); |
93 | $tester->execute([ | 93 | $tester->execute([ |
94 | 'command' => $command->getName(), | 94 | 'command' => $command->getName(), |
@@ -111,9 +111,9 @@ class InstallCommandTest extends WallabagCoreTestCase | |||
111 | $tester = new CommandTester($command); | 111 | $tester = new CommandTester($command); |
112 | $tester->setInputs([ | 112 | $tester->setInputs([ |
113 | 'y', // create super admin | 113 | 'y', // create super admin |
114 | 'username_'.uniqid('', true), // username | 114 | 'username_' . uniqid('', true), // username |
115 | 'password_'.uniqid('', true), // password | 115 | 'password_' . uniqid('', true), // password |
116 | 'email_'.uniqid('', true).'@wallabag.it', // email | 116 | 'email_' . uniqid('', true) . '@wallabag.it', // email |
117 | ]); | 117 | ]); |
118 | $tester->execute([ | 118 | $tester->execute([ |
119 | 'command' => $command->getName(), | 119 | 'command' => $command->getName(), |
@@ -159,9 +159,9 @@ class InstallCommandTest extends WallabagCoreTestCase | |||
159 | $tester = new CommandTester($command); | 159 | $tester = new CommandTester($command); |
160 | $tester->setInputs([ | 160 | $tester->setInputs([ |
161 | 'y', // create super admin | 161 | 'y', // create super admin |
162 | 'username_'.uniqid('', true), // username | 162 | 'username_' . uniqid('', true), // username |
163 | 'password_'.uniqid('', true), // password | 163 | 'password_' . uniqid('', true), // password |
164 | 'email_'.uniqid('', true).'@wallabag.it', // email | 164 | 'email_' . uniqid('', true) . '@wallabag.it', // email |
165 | ]); | 165 | ]); |
166 | $tester->execute([ | 166 | $tester->execute([ |
167 | 'command' => $command->getName(), | 167 | 'command' => $command->getName(), |
diff --git a/tests/Wallabag/CoreBundle/Command/TagAllCommandTest.php b/tests/Wallabag/CoreBundle/Command/TagAllCommandTest.php index 4cde3679..96d0e91f 100644 --- a/tests/Wallabag/CoreBundle/Command/TagAllCommandTest.php +++ b/tests/Wallabag/CoreBundle/Command/TagAllCommandTest.php | |||
@@ -4,8 +4,8 @@ namespace Tests\Wallabag\CoreBundle\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\CoreBundle\Command\TagAllCommand; | ||
8 | use Tests\Wallabag\CoreBundle\WallabagCoreTestCase; | 7 | use Tests\Wallabag\CoreBundle\WallabagCoreTestCase; |
8 | use Wallabag\CoreBundle\Command\TagAllCommand; | ||
9 | 9 | ||
10 | class TagAllCommandTest extends WallabagCoreTestCase | 10 | class TagAllCommandTest extends WallabagCoreTestCase |
11 | { | 11 | { |