diff --git a/tests/DbTestCase.php b/tests/DbTestCase.php index 3d528093ace..aeb169ddf01 100644 --- a/tests/DbTestCase.php +++ b/tests/DbTestCase.php @@ -347,9 +347,9 @@ protected function initAssetDefinition( 'is_active' => true, 'capacities' => $capacities, 'profiles' => $profiles, - 'fields_display' => '[]', + 'fields_display' => [], ], - skip_fields: ['capacities', 'profiles'] // JSON encoded fields cannot be automatically checked + skip_fields: ['capacities', 'profiles', 'fields_display'] // JSON encoded fields cannot be automatically checked ); $this->array($this->callPrivateMethod($definition, 'getDecodedCapacitiesField'))->isEqualTo($capacities); $this->array($this->callPrivateMethod($definition, 'getDecodedProfilesField'))->isEqualTo($profiles);