diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Tests/Command/TagAllCommandTest.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Tests/Command/TagAllCommandTest.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Wallabag/CoreBundle/Tests/Command/TagAllCommandTest.php b/src/Wallabag/CoreBundle/Tests/Command/TagAllCommandTest.php index 653c1a93..4f544c1d 100644 --- a/src/Wallabag/CoreBundle/Tests/Command/TagAllCommandTest.php +++ b/src/Wallabag/CoreBundle/Tests/Command/TagAllCommandTest.php | |||
@@ -21,9 +21,9 @@ class TagAllCommandTest extends WallabagCoreTestCase | |||
21 | $command = $application->find('wallabag:tag:all'); | 21 | $command = $application->find('wallabag:tag:all'); |
22 | 22 | ||
23 | $tester = new CommandTester($command); | 23 | $tester = new CommandTester($command); |
24 | $tester->execute(array( | 24 | $tester->execute([ |
25 | 'command' => $command->getName(), | 25 | 'command' => $command->getName(), |
26 | )); | 26 | ]); |
27 | } | 27 | } |
28 | 28 | ||
29 | public function testRunTagAllCommandWithBadUsername() | 29 | public function testRunTagAllCommandWithBadUsername() |
@@ -34,10 +34,10 @@ class TagAllCommandTest extends WallabagCoreTestCase | |||
34 | $command = $application->find('wallabag:tag:all'); | 34 | $command = $application->find('wallabag:tag:all'); |
35 | 35 | ||
36 | $tester = new CommandTester($command); | 36 | $tester = new CommandTester($command); |
37 | $tester->execute(array( | 37 | $tester->execute([ |
38 | 'command' => $command->getName(), | 38 | 'command' => $command->getName(), |
39 | 'username' => 'unknown', | 39 | 'username' => 'unknown', |
40 | )); | 40 | ]); |
41 | 41 | ||
42 | $this->assertContains('User "unknown" not found', $tester->getDisplay()); | 42 | $this->assertContains('User "unknown" not found', $tester->getDisplay()); |
43 | } | 43 | } |
@@ -50,10 +50,10 @@ class TagAllCommandTest extends WallabagCoreTestCase | |||
50 | $command = $application->find('wallabag:tag:all'); | 50 | $command = $application->find('wallabag:tag:all'); |
51 | 51 | ||
52 | $tester = new CommandTester($command); | 52 | $tester = new CommandTester($command); |
53 | $tester->execute(array( | 53 | $tester->execute([ |
54 | 'command' => $command->getName(), | 54 | 'command' => $command->getName(), |
55 | 'username' => 'admin', | 55 | 'username' => 'admin', |
56 | )); | 56 | ]); |
57 | 57 | ||
58 | $this->assertContains('Tagging entries for user « admin »... Done', $tester->getDisplay()); | 58 | $this->assertContains('Tagging entries for user « admin »... Done', $tester->getDisplay()); |
59 | } | 59 | } |