function ConfigImportCommandTest::commandTester

Builds a command tester for the 'config:import' command.

File

core/tests/Drupal/FunctionalTests/Core/Config/ConfigImportCommandTest.php, line 420

Class

ConfigImportCommandTest
Tests the 'config:import' command.

Namespace

Drupal\FunctionalTests\Core\Config

Code

private function commandTester() : CommandTester {
  $command = new ConfigImportCommand($this->container
    ->get('config.storage'), $this->container
    ->get('config.storage.sync'), $this->container
    ->get(ImportStorageTransformer::class), $this->container
    ->get(ConfigImporterFactory::class));
  return new CommandTester($command);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.