Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / tests / Drupal / KernelTests / Core / TypedData / ComplexDataConstraintValidatorTest.php
index bbdf10992f3097adae9ce9a50b2ef04ba25d1f67..54f2872ab8b716dd195e8ec9ca588ed035d9c5f6 100644 (file)
@@ -37,7 +37,7 @@ class ComplexDataConstraintValidatorTest extends KernelTestBase {
       ->setPropertyDefinition('key', DataDefinition::create('integer'))
       ->addConstraint('ComplexData', [
         'key' => [
-          'AllowedValues' => [1, 2, 3]
+          'AllowedValues' => [1, 2, 3],
         ],
       ]);
 
@@ -67,7 +67,7 @@ class ComplexDataConstraintValidatorTest extends KernelTestBase {
       ->setPropertyDefinition('key', DataDefinition::create('integer'))
       ->addConstraint('ComplexData', [
         'key' => [
-          'NotNull' => []
+          'NotNull' => [],
         ],
       ]);