From 45c5ee45418dc4d1b59606c824cbb96685f8bdb6 Mon Sep 17 00:00:00 2001 From: balsama Date: Fri, 10 Jan 2025 09:32:22 -0500 Subject: [PATCH] Add assertion that new output is present --- tests/phpunit/src/Commands/App/NewCommandTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpunit/src/Commands/App/NewCommandTest.php b/tests/phpunit/src/Commands/App/NewCommandTest.php index 41b371be0..1c947f7f4 100644 --- a/tests/phpunit/src/Commands/App/NewCommandTest.php +++ b/tests/phpunit/src/Commands/App/NewCommandTest.php @@ -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');