diff options
Diffstat (limited to 'tests/Wallabag/ImportBundle/Command')
-rw-r--r-- | tests/Wallabag/ImportBundle/Command/ImportCommandTest.php | 1 | ||||
-rw-r--r-- | tests/Wallabag/ImportBundle/Command/RedisWorkerCommandTest.php | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/Wallabag/ImportBundle/Command/ImportCommandTest.php b/tests/Wallabag/ImportBundle/Command/ImportCommandTest.php index 7043c345..f507563c 100644 --- a/tests/Wallabag/ImportBundle/Command/ImportCommandTest.php +++ b/tests/Wallabag/ImportBundle/Command/ImportCommandTest.php | |||
@@ -95,6 +95,7 @@ class ImportCommandTest extends WallabagCoreTestCase | |||
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 | ]); | 99 | ]); |
99 | } | 100 | } |
100 | } | 101 | } |
diff --git a/tests/Wallabag/ImportBundle/Command/RedisWorkerCommandTest.php b/tests/Wallabag/ImportBundle/Command/RedisWorkerCommandTest.php index 74952847..e5e251a0 100644 --- a/tests/Wallabag/ImportBundle/Command/RedisWorkerCommandTest.php +++ b/tests/Wallabag/ImportBundle/Command/RedisWorkerCommandTest.php | |||
@@ -11,7 +11,7 @@ use M6Web\Component\RedisMock\RedisMockFactory; | |||
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() |