Skip to content

Commit a3de32c

Browse files
author
René Hrdina
committed
try to fix phpunit tests
1 parent 5ebb79e commit a3de32c

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

bundle/Core/FieldType/EnhancedBinaryFile/Type.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ class Type extends BinaryFileType
2929
'type' => 'string',
3030
'default' => null,
3131
),
32+
'mimeTypesMessage' => array(
33+
'type' => 'string',
34+
'default' => null
35+
)
3236
);
3337

3438
/**

tests/Form/FieldTypeHandler/EnhancedFileTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ public function testBuildFieldCreateForm()
6363
$fieldDefinition = new FieldDefinition(array(
6464
'fieldSettings' => array(
6565
'allowedTypes' => 'jpg|pdf|txt',
66+
'mimeTypesMessage' => null
6667
),
6768
));
6869
$lang = 'eng_US';

0 commit comments

Comments
 (0)