You are here

public function MigrateSystemFileTest::testSystemFile in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/src/Tests/Migrate/d6/MigrateSystemFileTest.php \Drupal\system\Tests\Migrate\d6\MigrateSystemFileTest::testSystemFile()

Tests migration of system (file) variables to system.file.yml.

File

core/modules/system/src/Tests/Migrate/d6/MigrateSystemFileTest.php, line 30
Contains \Drupal\system\Tests\Migrate\d6\MigrateSystemFileTest.

Class

MigrateSystemFileTest
Upgrade variables to system.*.yml.

Namespace

Drupal\system\Tests\Migrate\d6

Code

public function testSystemFile() {
  $config = \Drupal::configFactory()
    ->getEditable('system.file');
  $this
    ->assertIdentical('files/temp', $config
    ->get('path.temporary'));
  $this
    ->assertIdentical(TRUE, $config
    ->get('allow_insecure_uploads'));
}