Security update for Core, with self-updated composer
[yaffs-website] / web / core / tests / Drupal / KernelTests / Core / Entity / EntityTypeConstraintsTest.php
index 51286be3caeb576300b2e13e7e962282870a335a..a58b47c1ce5bdc6fa4c088e40ad0d8a20eb73ad7 100644 (file)
@@ -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.