projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Security update for Core, with self-updated composer
[yaffs-website]
/
web
/
core
/
tests
/
Drupal
/
KernelTests
/
Core
/
Config
/
ConfigEntityStatusTest.php
diff --git
a/web/core/tests/Drupal/KernelTests/Core/Config/ConfigEntityStatusTest.php
b/web/core/tests/Drupal/KernelTests/Core/Config/ConfigEntityStatusTest.php
index 021136de668e336aee04b462dc03a424caa97e8c..20ceef4051535aadefc48b4f85b76ad5c40e0dd1 100644
(file)
--- a/
web/core/tests/Drupal/KernelTests/Core/Config/ConfigEntityStatusTest.php
+++ b/
web/core/tests/Drupal/KernelTests/Core/Config/ConfigEntityStatusTest.php
@@
-22,7
+22,7
@@
class ConfigEntityStatusTest extends KernelTestBase {
* Tests the enabling/disabling of entities.
*/
public function testCRUD() {
* Tests the enabling/disabling of entities.
*/
public function testCRUD() {
- $entity =
entity_create('config_test',
[
+ $entity =
\Drupal::entityTypeManager()->getStorage('config_test')->create(
[
'id' => strtolower($this->randomMachineName()),
]);
$this->assertTrue($entity->status(), 'Default status is enabled.');
'id' => strtolower($this->randomMachineName()),
]);
$this->assertTrue($entity->status(), 'Default status is enabled.');