public function ScaffoldTest::testEmptyProject in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ScaffoldTest.php \Drupal\Tests\Composer\Plugin\Scaffold\Functional\ScaffoldTest::testEmptyProject()
- 10 core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ScaffoldTest.php \Drupal\Tests\Composer\Plugin\Scaffold\Functional\ScaffoldTest::testEmptyProject()
Try to scaffold a project that does not scaffold anything.
File
- core/
tests/ Drupal/ Tests/ Composer/ Plugin/ Scaffold/ Functional/ ScaffoldTest.php, line 183
Class
- ScaffoldTest
- Tests Composer Scaffold.
Namespace
Drupal\Tests\Composer\Plugin\Scaffold\FunctionalCode
public function testEmptyProject() {
$fixture_name = 'empty-fixture';
$result = $this
->scaffoldSut($fixture_name, FALSE, FALSE);
$this
->assertStringContainsString('Nothing scaffolded because no packages are allowed in the top-level composer.json file', $result
->scaffoldOutput());
}