forked from wallabag/wallabag
Remove useless command addition
This commit is contained in:
committed by
Jérémy Benoist
parent
39cd51a3f9
commit
6915a92047
@ -5,7 +5,6 @@ namespace Tests\Wallabag\CoreBundle\Command;
|
||||
use Symfony\Bundle\FrameworkBundle\Console\Application;
|
||||
use Symfony\Component\Console\Tester\CommandTester;
|
||||
use Tests\Wallabag\CoreBundle\WallabagCoreTestCase;
|
||||
use Wallabag\CoreBundle\Command\ReloadEntryCommand;
|
||||
use Wallabag\CoreBundle\Entity\Entry;
|
||||
|
||||
class ReloadEntryCommandTest extends WallabagCoreTestCase
|
||||
@ -51,7 +50,6 @@ class ReloadEntryCommandTest extends WallabagCoreTestCase
|
||||
public function testRunReloadEntryCommand()
|
||||
{
|
||||
$application = new Application($this->getClient()->getKernel());
|
||||
$application->add(new ReloadEntryCommand());
|
||||
|
||||
$command = $application->find('wallabag:entry:reload');
|
||||
$tester = new CommandTester($command);
|
||||
@ -79,7 +77,6 @@ class ReloadEntryCommandTest extends WallabagCoreTestCase
|
||||
public function testRunReloadEntryWithUsernameCommand()
|
||||
{
|
||||
$application = new Application($this->getClient()->getKernel());
|
||||
$application->add(new ReloadEntryCommand());
|
||||
|
||||
$command = $application->find('wallabag:entry:reload');
|
||||
$tester = new CommandTester($command);
|
||||
@ -104,7 +101,6 @@ class ReloadEntryCommandTest extends WallabagCoreTestCase
|
||||
public function testRunReloadEntryWithoutEntryCommand()
|
||||
{
|
||||
$application = new Application($this->getClient()->getKernel());
|
||||
$application->add(new ReloadEntryCommand());
|
||||
|
||||
$command = $application->find('wallabag:entry:reload');
|
||||
$tester = new CommandTester($command);
|
||||
|
||||
Reference in New Issue
Block a user