Skip to content

Commit

Permalink
Fixed FormTypeBasedFieldValueFormMapper unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwojs committed Feb 6, 2020
1 parent 0a984ee commit 3a5d55c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public function testMapFieldValueFormNoLanguageCode()
$fieldDefinition = new FieldDefinition([
'names' => [],
'isRequired' => false,
'fieldTypeIdentifier' => 'ezselection',
'fieldSettings' => ['isMultiple' => false, 'options' => []],
]);

Expand All @@ -45,6 +46,7 @@ public function testMapFieldValueFormWithLanguageCode()
$fieldDefinition = new FieldDefinition([
'names' => ['eng-GB' => 'foo'],
'isRequired' => false,
'fieldTypeIdentifier' => 'ezselection',
'fieldSettings' => ['isMultiple' => false, 'options' => []],
]);
$this->data->expects($this->once())
Expand Down

0 comments on commit 3a5d55c

Please sign in to comment.