public function MigrateSystemMaintenanceTest::testSystemMaintenance in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/src/Tests/Migrate/d6/MigrateSystemMaintenanceTest.php \Drupal\system\Tests\Migrate\d6\MigrateSystemMaintenanceTest::testSystemMaintenance()
Tests migration of system (maintenance) variables to system.maintenance.yml.
File
- core/
modules/ system/ src/ Tests/ Migrate/ d6/ MigrateSystemMaintenanceTest.php, line 30 - Contains \Drupal\system\Tests\Migrate\d6\MigrateSystemMaintenanceTest.
Class
- MigrateSystemMaintenanceTest
- Upgrade maintenance variables to system.*.yml.
Namespace
Drupal\system\Tests\Migrate\d6Code
public function testSystemMaintenance() {
$config = $this
->config('system.maintenance');
$this
->assertIdentical('Drupal is currently under maintenance. We should be back shortly. Thank you for your patience.', $config
->get('message'));
}