Fix APIv4 unit test for 'readonly' attribute
authorColeman Watts <coleman@civicrm.org>
Thu, 18 Feb 2021 18:44:54 +0000 (13:44 -0500)
committerColeman Watts <coleman@civicrm.org>
Thu, 18 Feb 2021 18:44:54 +0000 (13:44 -0500)
tests/phpunit/api/v4/Spec/SpecFormatterTest.php

index ff17653578114d7ec0a1e667c772e4376cd8429b..59302b8f60ba824a81e2345e093c1d7d4f31cdec 100644 (file)
@@ -68,6 +68,7 @@ class SpecFormatterTest extends UnitTestCase {
       'html_type' => 'Select',
       'column_name' => $name,
       'serialize' => 1,
+      'is_view' => FALSE,
     ];
 
     /** @var \Civi\Api4\Service\Spec\CustomFieldSpec $field */