This commit is contained in:
@ -15,12 +15,10 @@ final class CommandShowTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
public function testInvalidConfig(): void
|
||||
{
|
||||
|
||||
$applicationd = new Application('backup', "1.1.1");
|
||||
|
||||
$applicationd->add(new CommandShow());
|
||||
|
||||
|
||||
$command = $applicationd->find('show');
|
||||
$commandTester = new CommandTester($command);
|
||||
$commandTester->execute(['config' => "bad_file"]);
|
||||
@ -37,7 +35,6 @@ final class CommandShowTest extends \PHPUnit\Framework\TestCase
|
||||
|
||||
$applicationd->add(new CommandShow());
|
||||
|
||||
|
||||
$command = $applicationd->find('show');
|
||||
$commandTester = new CommandTester($command);
|
||||
$commandTester->execute(['config' => "config.example.yml"]);
|
||||
|
Reference in New Issue
Block a user