forked from wallabag/wallabag
Remove useless command input parameter
This commit is contained in:
committed by
Jérémy Benoist
parent
17497275b2
commit
e32794e9d6
@ -22,9 +22,7 @@ class RedisWorkerCommandTest extends WallabagCoreTestCase
|
||||
$command = $application->find('wallabag:import:redis-worker');
|
||||
|
||||
$tester = new CommandTester($command);
|
||||
$tester->execute([
|
||||
'command' => $command->getName(),
|
||||
]);
|
||||
$tester->execute([]);
|
||||
}
|
||||
|
||||
public function testRunRedisWorkerCommandWithBadService()
|
||||
@ -38,7 +36,6 @@ class RedisWorkerCommandTest extends WallabagCoreTestCase
|
||||
|
||||
$tester = new CommandTester($command);
|
||||
$tester->execute([
|
||||
'command' => $command->getName(),
|
||||
'serviceName' => 'YOMONSERVICE',
|
||||
]);
|
||||
}
|
||||
@ -60,7 +57,6 @@ class RedisWorkerCommandTest extends WallabagCoreTestCase
|
||||
|
||||
$tester = new CommandTester($command);
|
||||
$tester->execute([
|
||||
'command' => $command->getName(),
|
||||
'serviceName' => 'readability',
|
||||
'--maxIterations' => 1,
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user