diff --git a/modules/json_form_widget/tests/src/Unit/SchemaUiHandlerTest.php b/modules/json_form_widget/tests/src/Unit/SchemaUiHandlerTest.php index a616b54b61..ca217469b9 100644 --- a/modules/json_form_widget/tests/src/Unit/SchemaUiHandlerTest.php +++ b/modules/json_form_widget/tests/src/Unit/SchemaUiHandlerTest.php @@ -523,7 +523,7 @@ public function testSchemaUi() { '#uri' => 'https://url.to.api.or.file', '#upload_location' => 'public://uploaded_resources', '#upload_validators' => [ - 'FileExtension' => ['jpg pdf png csv'], + 'FileExtension' => ['extensions' => 'jpg pdf png csv'], ], ], ];