diff options
Diffstat (limited to 'tests/Wallabag/CoreBundle/Command/InstallCommandTest.php')
-rw-r--r-- | tests/Wallabag/CoreBundle/Command/InstallCommandTest.php | 20 |
1 files changed, 10 insertions, 10 deletions
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(), |