function ScaffoldTest::testScaffoldOverridingSettingsExcludingHtaccess
Same name in other branches
- 8.9.x core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ScaffoldTest.php \Drupal\Tests\Composer\Plugin\Scaffold\Functional\ScaffoldTest::testScaffoldOverridingSettingsExcludingHtaccess()
- 10 core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ScaffoldTest.php \Drupal\Tests\Composer\Plugin\Scaffold\Functional\ScaffoldTest::testScaffoldOverridingSettingsExcludingHtaccess()
- 11.x core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ScaffoldTest.php \Drupal\Tests\Composer\Plugin\Scaffold\Functional\ScaffoldTest::testScaffoldOverridingSettingsExcludingHtaccess()
Asserts that the drupal/assets scaffold files correct for sut.
@dataProvider scaffoldOverridingSettingsExcludingHtaccessValues
Parameters
string $fixture_name: The name of the fixture to use from core/tests/Drupal/Tests/Component/Scaffold/fixtures.
bool $is_link: Whether to use symlinks for 'replace' operations.
bool $relocated_docroot: Whether the named fixture has a relocated document root.
File
-
core/
tests/ Drupal/ Tests/ Composer/ Plugin/ Scaffold/ Functional/ ScaffoldTest.php, line 228
Class
- ScaffoldTest
- Tests Composer Scaffold.
Namespace
Drupal\Tests\Composer\Plugin\Scaffold\FunctionalCode
public function testScaffoldOverridingSettingsExcludingHtaccess($fixture_name, $is_link, $relocated_docroot) {
$result = $this->scaffoldSut($fixture_name, $is_link, $relocated_docroot);
$this->assertCommonDrupalAssetsWereScaffolded($result->docroot(), $is_link);
$this->assertAutoloadFileCorrect($result->docroot(), $relocated_docroot);
$this->assertDefaultSettingsFromScaffoldOverride($result->docroot(), $is_link);
$this->assertHtaccessExcluded($result->docroot());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.