Skip to content

Commit

Permalink
kill mutant
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell committed Jul 11, 2024
1 parent 825051e commit 7cf4b4d
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Acquia\Cli\Tests\Commands;
namespace Acquia\Cli\Tests\Misc;

use Acquia\Cli\Output\Checklist;
use Acquia\Cli\Tests\TestBase;
Expand All @@ -28,6 +28,9 @@ public function testSpinner(): void
putenv('PHPUNIT_RUNNING=1');
$checklist = new Checklist($this->output);
$checklist->addItem('Testing!');
$items = $checklist->getItems();
$progressBar = $items[0]['spinner']->getProgressBar();
$this->assertEquals(' ', $progressBar->getMessage('detail'));

// Make the spinner spin with some output.
$outputCallback = static function (string $type, string $buffer) use ($checklist): void {
Expand Down

0 comments on commit 7cf4b4d

Please sign in to comment.