X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Ftests%2FDrupal%2FKernelTests%2FCore%2FEntity%2FEntityTypeConstraintsTest.php;h=a58b47c1ce5bdc6fa4c088e40ad0d8a20eb73ad7;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=51286be3caeb576300b2e13e7e962282870a335a;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintsTest.php b/web/core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintsTest.php index 51286be3c..a58b47c1c 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintsTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Entity/EntityTypeConstraintsTest.php @@ -41,7 +41,7 @@ class EntityTypeConstraintsTest extends EntityKernelTestBase { $this->assertEqual($default_constraints + $extra_constraints, $entity_type->getConstraints()); // Test altering constraints. - $altered_constraints = ['Test' => [ 'some_setting' => TRUE]]; + $altered_constraints = ['Test' => ['some_setting' => TRUE]]; $this->state->set('entity_test_constraints.alter', $altered_constraints); // Clear the cache in state instance in the Drupal container, so it can pick // up the modified value.