MigrateSystemMaintenanceTest.php in Zircon Profile 8
File
core/modules/system/src/Tests/Migrate/d6/MigrateSystemMaintenanceTest.php
View source
<?php
namespace Drupal\system\Tests\Migrate\d6;
use Drupal\migrate_drupal\Tests\d6\MigrateDrupal6TestBase;
class MigrateSystemMaintenanceTest extends MigrateDrupal6TestBase {
protected function setUp() {
parent::setUp();
$this
->executeMigration('d6_system_maintenance');
}
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'));
}
}