Skip to content

Commit

Permalink
kill mutant
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell committed Nov 22, 2024
1 parent 1b78ba0 commit 2f6a179
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/phpunit/src/Commands/Self/MakeDocsCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use Acquia\Cli\Command\CommandBase;
use Acquia\Cli\Command\Self\MakeDocsCommand;
use Acquia\Cli\Tests\CommandTestBase;
use org\bovigo\vfs\vfsStream;

/**
* @property \Acquia\Cli\Command\Self\MakeDocsCommand $command
Expand All @@ -26,4 +27,11 @@ public function testMakeDocsCommand(): void
$this->assertStringContainsString('============', $output);
$this->assertStringContainsString('- `help`_', $output);
}

public function testMakeDocsCommandDump(): void
{
$vfs = vfsStream::setup('root');
$this->executeCommand(['--dump' => $vfs->url()]);
$this->assertStringContainsString('The completion command dumps', $vfs->getChild('completion.json')->getContent());
}
}

0 comments on commit 2f6a179

Please sign in to comment.