47 calls to FunctionalTestSetupTrait::writeSettings()

AssetOptimizationTest::doTestAggregation in core/tests/Drupal/FunctionalTests/Asset/AssetOptimizationTest.php
Helper to test aggregate file URLs.
ConfigEntityFormOverrideTest::testFormsWithOverrides in core/modules/config/tests/src/Functional/ConfigEntityFormOverrideTest.php
Tests that overrides do not affect forms or listing screens.
ConfigExportUITest::setUp in core/modules/config/tests/src/Functional/ConfigExportUITest.php
ConfigFormOverrideTest::testFormsWithOverrides in core/modules/config/tests/src/Functional/ConfigFormOverrideTest.php
Tests that overrides do not affect forms.
ConfigTest::testFileConfigurationPage in core/modules/system/tests/src/Functional/File/ConfigTest.php
Tests file configuration page.
ConfigTranslationOverviewTest::testListingPageWithOverrides in core/modules/config_translation/tests/src/Functional/ConfigTranslationOverviewTest.php
Tests that overrides do not affect listing screens.
ContainerRebuildWebTest::testContainerInvalidation in core/modules/system/tests/src/Functional/DrupalKernel/ContainerRebuildWebTest.php
Tests container invalidation.
ContainerRebuildWebTest::testSetContainerRebuildWithDifferentDeploymentIdentifier in core/modules/system/tests/src/Functional/DrupalKernel/ContainerRebuildWebTest.php
Sets a different deployment identifier.
DatabaseDriverProvidedByModuleTest::testDatabaseDriverIsProvidedByModuleButTheModuleIsNotEnabled in core/modules/system/tests/src/Functional/System/DatabaseDriverProvidedByModuleTest.php
Tests that the status page shows the error message.
DummyStreamWrapperFileTest::setUp in core/modules/file/tests/src/Functional/DummyStreamWrapperFileTest.php
Fast404Test::testFast404 in core/tests/Drupal/FunctionalTests/EventSubscriber/Fast404Test.php
Tests the fast 404 functionality.
FunctionalTestSetupTrait::prepareSettings in core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php
Prepares site settings and services before installation.
HookCollectorPassTest::testContainerOutsideFunction in core/modules/system/tests/src/Functional/Hook/HookCollectorPassTest.php
Tests installing a module with a Drupal container call outside functions.
InstallerTestBase::installDrupal in core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php
We are testing the installer, so set up a minimal environment for that.
InstallerTranslationNonStandardFilenamesTest::prepareSettings in core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationNonStandardFilenamesTest.php
Prepares site settings and services before installation.
LanguageNegotiationFormOverrideTest::testFormWithOverride in core/modules/config/tests/src/Functional/LanguageNegotiationFormOverrideTest.php
Tests that overrides do not affect language-negotiation form values.
LocaleFileSystemFormTest::testFileConfigurationPage in core/modules/locale/tests/src/Functional/LocaleFileSystemFormTest.php
Tests translation directory settings on the file settings form.
LocaleTranslationDownloadTest::setUp in core/modules/locale/tests/src/Functional/LocaleTranslationDownloadTest.php
LocaleUpdateBase::setTranslationsDirectory in core/modules/locale/tests/src/Functional/LocaleUpdateBase.php
Sets the value of the default translations directory.
MaintenanceThemeUpdateRegistryTest::prepareSettings in core/modules/system/tests/src/Functional/Theme/MaintenanceThemeUpdateRegistryTest.php
Prepares site settings and services before installation.
MigrateUpgradeExecuteTestBase::useTestMailCollector in core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeExecuteTestBase.php
Helper to set the test mail collector in settings.php.
NoPreExistingSchemaUpdateTest::testNoPreExistingSchema in core/modules/system/tests/src/Functional/UpdateSystem/NoPreExistingSchemaUpdateTest.php
Tests the system module updates with no dependencies installed.
PackageManagerTestBase::setUp in core/modules/package_manager/tests/src/Functional/PackageManagerTestBase.php
PageCacheTest::testPageCacheAnonymous403404 in core/modules/page_cache/tests/src/Functional/PageCacheTest.php
Tests the 4xx-response cache tag is added and invalidated.
PageCacheTest::testPageCacheWithoutVaryCookie in core/modules/page_cache/tests/src/Functional/PageCacheTest.php
Tests the omit_vary_cookie setting.
PageTitleTest::testRoutingTitle in core/modules/system/tests/src/Functional/System/PageTitleTest.php
Tests the page title of render arrays.
PhpRequirementTest::setUp in core/modules/system/tests/src/Functional/System/PhpRequirementTest.php
RebuildScriptTest::testRebuild in core/modules/system/tests/src/Functional/UpdateSystem/RebuildScriptTest.php
Tests redirect in rebuild.php.
RequirementsTest::writeIsolationLevelSettings in core/modules/mysql/tests/src/Functional/RequirementsTest.php
Writes the isolation level in settings.php.
RouteCachingQueryAlteredTest::setUp in core/tests/Drupal/FunctionalTests/Routing/RouteCachingQueryAlteredTest.php
SecurityAdvisoryTest::writeSettings in core/modules/system/tests/src/Functional/SecurityAdvisories/SecurityAdvisoryTest.php
Rewrites the settings.php file of the test site.
SessionTest::testSessionWrite in core/modules/system/tests/src/Functional/Session/SessionTest.php
Tests that sessions are only saved when necessary.
SettingsTest::testCredentialForm in core/modules/migrate_drupal_ui/tests/src/FunctionalJavascript/SettingsTest.php
Test the Credential form with defaults in settings.php.
StatusTest::setUp in core/modules/system/tests/src/Functional/System/StatusTest.php
StatusTest::testStatusPage in core/modules/system/tests/src/Functional/System/StatusTest.php
Tests that the status page returns.
TrustedHostsTest::testFakeRequests in core/modules/system/tests/src/Functional/System/TrustedHostsTest.php
Tests that fake requests have the proper host configured.
TrustedHostsTest::testRequestBags in core/modules/system/tests/src/Functional/System/TrustedHostsTest.php
Tests that the request bags have the correct classes.
TrustedHostsTest::testStatusPageWithConfiguration in core/modules/system/tests/src/Functional/System/TrustedHostsTest.php
Tests that the status page shows the trusted patterns from settings.php.
UncaughtExceptionTest::setUp in core/tests/Drupal/FunctionalTests/Bootstrap/UncaughtExceptionTest.php
UncaughtExceptionTest::testErrorContainer in core/tests/Drupal/FunctionalTests/Bootstrap/UncaughtExceptionTest.php
Tests a container which has an error.
UncaughtExceptionTest::testExceptionContainer in core/tests/Drupal/FunctionalTests/Bootstrap/UncaughtExceptionTest.php
Tests a container which has an exception really early.
UncaughtExceptionTest::testLostDatabaseConnection in core/tests/Drupal/FunctionalTests/Bootstrap/UncaughtExceptionTest.php
Tests the case when the database connection is gone.
UncaughtExceptionTest::testUncaughtException in core/tests/Drupal/FunctionalTests/Bootstrap/UncaughtExceptionTest.php
Tests uncaught exception handling when system is in a bad state.
UpdateCacheTest::testCaches in core/modules/system/tests/src/Functional/UpdateSystem/UpdateCacheTest.php
Tests that caches are cleared during updates.
UpdatePathTestBase::prepareSettings in core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php
Add settings that are missed since the installer isn't run.
UpdateReducedThemeRegistryTest::testUpdatePageWithBrokenThemeHook in core/tests/Drupal/FunctionalTests/Update/UpdateReducedThemeRegistryTest.php
Tests that the update page can be accessed.
UrlResolverTest::testUrlDiscovery in core/modules/media/tests/src/Functional/UrlResolverTest.php
Tests URL resolution when the URL is discovered by scanning the asset.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.