function MigrateUpgradeExecuteTestBase::useTestMailCollector
Same name in other branches
- 10 core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeExecuteTestBase.php \Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeExecuteTestBase::useTestMailCollector()
- 11.x core/modules/migrate_drupal_ui/tests/src/Functional/MigrateUpgradeExecuteTestBase.php \Drupal\Tests\migrate_drupal_ui\Functional\MigrateUpgradeExecuteTestBase::useTestMailCollector()
Helper to set the test mail collector in settings.php.
4 calls to MigrateUpgradeExecuteTestBase::useTestMailCollector()
- DoubleSlashTest::testMigrateUpgradeExecute in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ d7/ DoubleSlashTest.php - Executes all steps of migrations upgrade.
- MigrateUpgradeExecuteTestBase::doUpgradeAndIncremental in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ MigrateUpgradeExecuteTestBase.php - Executes an upgrade and then an incremental upgrade.
- UpgradeTest::testUpgrade in core/
modules/ aggregator/ tests/ src/ Functional/ migrate_drupal_ui/ d6/ UpgradeTest.php - Executes an upgrade.
- UpgradeTest::testUpgrade in core/
modules/ aggregator/ tests/ src/ Functional/ migrate_drupal_ui/ d7/ UpgradeTest.php - Executes an upgrade.
File
-
core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ MigrateUpgradeExecuteTestBase.php, line 64
Class
- MigrateUpgradeExecuteTestBase
- Provides a base class for testing a complete upgrade via the UI.
Namespace
Drupal\Tests\migrate_drupal_ui\FunctionalCode
public function useTestMailCollector() {
// Set up an override.
$settings['config']['system.mail']['interface']['default'] = (object) [
'value' => 'test_mail_collector',
'required' => TRUE,
];
$this->writeSettings($settings);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.