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
/
ConfigDiffTest.php
diff --git
a/web/core/tests/Drupal/KernelTests/Core/Config/ConfigDiffTest.php
b/web/core/tests/Drupal/KernelTests/Core/Config/ConfigDiffTest.php
index b69735ea91e5cf38705b8845b0b9bb002824ff5b..f29b88acd1410322035d6701ba6b84a9d9b6b036 100644
(file)
--- a/
web/core/tests/Drupal/KernelTests/Core/Config/ConfigDiffTest.php
+++ b/
web/core/tests/Drupal/KernelTests/Core/Config/ConfigDiffTest.php
@@
-75,7
+75,7
@@
class ConfigDiffTest extends KernelTestBase {
// Test diffing a renamed config entity.
$test_entity_id = $this->randomMachineName();
// Test diffing a renamed config entity.
$test_entity_id = $this->randomMachineName();
- $test_entity =
entity_create('config_test',
[
+ $test_entity =
\Drupal::entityTypeManager()->getStorage('config_test')->create(
[
'id' => $test_entity_id,
'label' => $this->randomMachineName(),
]);
'id' => $test_entity_id,
'label' => $this->randomMachineName(),
]);