forked from wallabag/wallabag
Remove useless command addition
This commit is contained in:
committed by
Jérémy Benoist
parent
39cd51a3f9
commit
6915a92047
@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user