You are here

public function ConfigImporterServiceTest::testImportConfigsInMaintenanceMode in Config Importer and Tools 8

Same name and namespace in other branches
  1. 8.2 tests/src/Unit/ConfigImporterServiceTest.php \Drupal\Tests\config_import\Unit\ConfigImporterServiceTest::testImportConfigsInMaintenanceMode()

Check that configuration will be imported in maintenance mode.

@dataProvider providerMaintenance

Parameters

string $maintenance_mode: One of available maintenance modes.

File

tests/src/Unit/ConfigImporterServiceTest.php, line 118

Class

ConfigImporterServiceTest
Testing configuration importer service.

Namespace

Drupal\Tests\config_import\Unit

Code

public function testImportConfigsInMaintenanceMode($maintenance_mode) {
  define('MAINTENANCE_MODE', $maintenance_mode);
  $this
    ->testImportConfigs();
}