You are here

public function ConfigUpdaterTest::testLoadFromExtension in Commerce Core 8.2

Tests loading configuration from extension storage.

File

tests/src/Kernel/ConfigUpdaterTest.php, line 51

Class

ConfigUpdaterTest
Tests the ConfigUpdater class.

Namespace

Drupal\Tests\commerce\Kernel

Code

public function testLoadFromExtension() {
  $config_name = 'views.view.commerce_stores';
  $data = $this->configUpdater
    ->loadFromExtension($config_name);
  $this
    ->assertEquals($data['id'], 'commerce_stores');
}