Skip to content

Commit

Permalink
Add assertion that new output is present
Browse files Browse the repository at this point in the history
  • Loading branch information
balsama committed Jan 10, 2025
1 parent 26494ec commit 45c5ee4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/phpunit/src/Commands/App/NewCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ public function testNewDrupalCommand(array $package, string $directory = 'drupal

$output = $this->getDisplay();
$this->assertStringContainsString('Acquia recommends most customers use acquia/drupal-recommended-project to setup a Drupal project', $output);
$this->assertStringContainsString('acquia/drupal-cms-project is Drupal CMS scaffolded to work with Acquia hosting.', $output);
$this->assertStringContainsString('Choose a starting project', $output);
$this->assertStringContainsString($project, $output);
$this->assertTrue($mockFileSystem->isAbsolutePath($this->newProjectDir), 'Directory path is not absolute');
Expand Down

0 comments on commit 45c5ee4

Please sign in to comment.