public function ConfigUpdaterTest::testLoadFromActive in Commerce Core 8.2
Tests loading configuration from active storage.
File
- tests/
src/ Kernel/ ConfigUpdaterTest.php, line 42
Class
- ConfigUpdaterTest
- Tests the ConfigUpdater class.
Namespace
Drupal\Tests\commerce\KernelCode
public function testLoadFromActive() {
$config_name = 'commerce_store.commerce_store_type.testing';
$data = $this->configUpdater
->loadFromActive($config_name);
$this
->assertEquals($data['id'], 'testing');
}