public function WorkspacesIntegrationTest::cacheCanBeClearedWhenWorkbenchIsEnabled in Entity Construction Kit (ECK) 8
@test
File
- tests/
src/ Functional/ WorkspacesIntegrationTest.php, line 37
Class
- WorkspacesIntegrationTest
- Class WorkspacesIntegrationTest.
Namespace
Drupal\Tests\eck\FunctionalCode
public function cacheCanBeClearedWhenWorkbenchIsEnabled() {
$testType = EckEntityType::create([
'id' => 'test',
'label' => 'Test',
]);
$testType
->save();
$this->container
->get('module_installer')
->install([
'workspaces',
], TRUE);
drupal_flush_all_caches();
}