You are here

public function MigrateSystemRssTest::testSystemRss in Zircon Profile 8

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

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

File

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

Class

MigrateSystemRssTest
Upgrade rss variable to system.*.yml.

Namespace

Drupal\system\Tests\Migrate\d6

Code

public function testSystemRss() {
  $config = $this
    ->config('system.rss');
  $this
    ->assertIdentical(10, $config
    ->get('items.limit'));
  $this
    ->assertIdentical('title', $config
    ->get('items.view_mode'));
}