You are here

public function MigrateActionConfigsTest::testActionSettings in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/action/src/Tests/Migrate/d6/MigrateActionConfigsTest.php \Drupal\action\Tests\Migrate\d6\MigrateActionConfigsTest::testActionSettings()

Tests migration of action variables to action.settings.yml.

File

core/modules/action/src/Tests/Migrate/d6/MigrateActionConfigsTest.php, line 38
Contains \Drupal\action\Tests\Migrate\d6\MigrateActionConfigsTest.

Class

MigrateActionConfigsTest
Upgrade variables to action.settings.yml.

Namespace

Drupal\action\Tests\Migrate\d6

Code

public function testActionSettings() {
  $config = $this
    ->config('action.settings');
  $this
    ->assertIdentical(35, $config
    ->get('recursion_limit'));
  $this
    ->assertConfigSchema(\Drupal::service('config.typed'), 'action.settings', $config
    ->get());
}