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
/
ConfigEntityNormalizeTest.php
diff --git
a/web/core/tests/Drupal/KernelTests/Core/Config/ConfigEntityNormalizeTest.php
b/web/core/tests/Drupal/KernelTests/Core/Config/ConfigEntityNormalizeTest.php
index 5a137b9f4f4e00d6525834ceea8606160fa01993..4cbc16a0e04281f9f9165e949bac1dc166975b5a 100644
(file)
--- a/
web/core/tests/Drupal/KernelTests/Core/Config/ConfigEntityNormalizeTest.php
+++ b/
web/core/tests/Drupal/KernelTests/Core/Config/ConfigEntityNormalizeTest.php
@@
-24,7
+24,7
@@
class ConfigEntityNormalizeTest extends KernelTestBase {
}
public function testNormalize() {
}
public function testNormalize() {
- $config_entity =
entity_create('config_test',
['id' => 'system', 'label' => 'foobar', 'weight' => 1]);
+ $config_entity =
\Drupal::entityTypeManager()->getStorage('config_test')->create(
['id' => 'system', 'label' => 'foobar', 'weight' => 1]);
$config_entity->save();
// Modify stored config entity, this is comparable with a schema change.
$config_entity->save();
// Modify stored config entity, this is comparable with a schema change.