function ScaffoldTest::testEmptyProject
Try to scaffold a project that does not scaffold anything.
File
- 
              core/
tests/ Drupal/ Tests/ Composer/ Plugin/ Scaffold/ Functional/ ScaffoldTest.php, line 181  
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());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.