diff options
Diffstat (limited to 'tests/Wallabag/ImportBundle/Command/RedisWorkerCommandTest.php')
-rw-r--r-- | tests/Wallabag/ImportBundle/Command/RedisWorkerCommandTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Wallabag/ImportBundle/Command/RedisWorkerCommandTest.php b/tests/Wallabag/ImportBundle/Command/RedisWorkerCommandTest.php index 74952847..af62550c 100644 --- a/tests/Wallabag/ImportBundle/Command/RedisWorkerCommandTest.php +++ b/tests/Wallabag/ImportBundle/Command/RedisWorkerCommandTest.php | |||
@@ -2,16 +2,16 @@ | |||
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 | { |
13 | /** | 13 | /** |
14 | * @expectedException Symfony\Component\Console\Exception\RuntimeException | 14 | * @expectedException \Symfony\Component\Console\Exception\RuntimeException |
15 | * @expectedExceptionMessage Not enough arguments (missing: "serviceName") | 15 | * @expectedExceptionMessage Not enough arguments (missing: "serviceName") |
16 | */ | 16 | */ |
17 | public function testRunRedisWorkerCommandWithoutArguments() | 17 | public function testRunRedisWorkerCommandWithoutArguments() |
@@ -28,7 +28,7 @@ class RedisWorkerCommandTest extends WallabagCoreTestCase | |||
28 | } | 28 | } |
29 | 29 | ||
30 | /** | 30 | /** |
31 | * @expectedException Symfony\Component\Config\Definition\Exception\Exception | 31 | * @expectedException \Symfony\Component\Config\Definition\Exception\Exception |
32 | * @expectedExceptionMessage No queue or consumer found for service name | 32 | * @expectedExceptionMessage No queue or consumer found for service name |
33 | */ | 33 | */ |
34 | public function testRunRedisWorkerCommandWithBadService() | 34 | public function testRunRedisWorkerCommandWithBadService() |