42 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.
- DatabaseVersionCheckUpdateTest::testUpdate in core/
modules/ system/ tests/ src/ Functional/ Update/ DatabaseVersionCheckUpdateTest.php - Tests that updates fail if the database does not meet the minimum version.
- 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.
- 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.
- 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.
- Mysql8RequirePrimaryKeyUpdateTest::prepareSettings in core/
modules/ mysql/ tests/ src/ Functional/ Mysql8RequirePrimaryKeyUpdateTest.php - Add settings that are missed since the installer isn't run.
- NoPreExistingSchemaUpdateTest::testNoPreExistingSchema in core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ NoPreExistingSchemaUpdateTest.php - Tests the system module updates with no dependencies installed.
- 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.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.