You are here

public function MigrateSystemPerformanceTest::testSystemPerformance in Zircon Profile 8

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

Tests migration of system (Performance) variables to system.performance.yml.

File

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

Class

MigrateSystemPerformanceTest
Upgrade performance variables to system.*.yml.

Namespace

Drupal\system\Tests\Migrate\d6

Code

public function testSystemPerformance() {
  $config = $this
    ->config('system.performance');
  $this
    ->assertIdentical(FALSE, $config
    ->get('css.preprocess'));
  $this
    ->assertIdentical(FALSE, $config
    ->get('js.preprocess'));
  $this
    ->assertIdentical(0, $config
    ->get('cache.page.max_age'));
}