You are here

protected function ConfigDevelSubscriberRawTest::doAssert in Configuration development 8

Assert that the config import succeeded.

Parameters

array $writen_data: The config data as written.

array $exported_data: The config data exported.

Overrides ConfigDevelSubscriberTestBase::doAssert

File

tests/src/Kernel/ConfigDevelSubscriberRawTest.php, line 20

Class

ConfigDevelSubscriberRawTest
Tests the automated importer for raw config objects.

Namespace

Drupal\Tests\config_devel\Kernel

Code

protected function doAssert(array $data, array $exported_data) {
  $this
    ->assertIdentical($data, $this->storage
    ->read(static::CONFIGNAME));
  $this
    ->assertIdentical($data, $exported_data);
}