You are here

public function SchemaFactoryTest::testConfigEntityOnCreate in Schemata 8

@covers ::create

File

tests/src/Kernel/SchemaFactoryTest.php, line 120

Class

SchemaFactoryTest
Tests the Schema Factory service.

Namespace

Drupal\Tests\schemata\Kernel

Code

public function testConfigEntityOnCreate() {
  $schema = $this->factory
    ->create('node_type');
  $this
    ->assertEmpty($schema, 'Schemata does not support Config entities.');
}