Remove useless command addition

This commit is contained in:
Yassine Guedidi
2022-09-03 02:20:24 +02:00
committed by Jérémy Benoist
parent 39cd51a3f9
commit 6915a92047
10 changed files with 0 additions and 54 deletions

View File

@ -6,7 +6,6 @@ use Symfony\Bundle\FrameworkBundle\Console\Application;
use Symfony\Component\Console\Exception\RuntimeException;
use Symfony\Component\Console\Tester\CommandTester;
use Tests\Wallabag\CoreBundle\WallabagCoreTestCase;
use Wallabag\CoreBundle\Command\ExportCommand;
class ExportCommandTest extends WallabagCoreTestCase
{
@ -16,7 +15,6 @@ class ExportCommandTest extends WallabagCoreTestCase
$this->expectExceptionMessage('Not enough arguments (missing: "username")');
$application = new Application($this->getClient()->getKernel());
$application->add(new ExportCommand());
$command = $application->find('wallabag:export');
@ -29,7 +27,6 @@ class ExportCommandTest extends WallabagCoreTestCase
public function testExportCommandWithBadUsername()
{
$application = new Application($this->getClient()->getKernel());
$application->add(new ExportCommand());
$command = $application->find('wallabag:export');
@ -45,7 +42,6 @@ class ExportCommandTest extends WallabagCoreTestCase
public function testExportCommand()
{
$application = new Application($this->getClient()->getKernel());
$application->add(new ExportCommand());
$command = $application->find('wallabag:export');
@ -63,7 +59,6 @@ class ExportCommandTest extends WallabagCoreTestCase
public function testExportCommandWithSpecialPath()
{
$application = new Application($this->getClient()->getKernel());
$application->add(new ExportCommand());
$command = $application->find('wallabag:export');