public function PermissionsGeneratorTest::generatesNoPermissionsIfNoEntityTypesAreDefined in Entity Construction Kit (ECK) 8
Tests that no permissions are created if no entity types are defined.
@test
File
- tests/
src/ Unit/ PermissionsGeneratorTest.php, line 48
Class
- PermissionsGeneratorTest
- Tests the form element implementation.
Namespace
Drupal\Tests\eck\UnitCode
public function generatesNoPermissionsIfNoEntityTypesAreDefined() {
$this
->assertSame([], $this->sut
->entityPermissions());
}