Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
brookinsconsulting committed Aug 9, 2018
2 parents b231392 + c6a76e4 commit 6424544
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions Tests/FieldType/AuthorIntegrationTest.php
Expand Up @@ -47,7 +47,7 @@ public function getTypeName()
/**
* Get handler with required custom field types registered.
*
* @return Handler
* @return \eZ\Publish\SPI\Persistence\Handler
*/
public function getCustomHandler()
{
Expand Down Expand Up @@ -86,7 +86,18 @@ public function getFieldDefinitionData()
// The ezauthor field type does not have any special field definition
// properties
array('fieldType', 'ezauthor'),
array('fieldTypeConstraints', new Content\FieldTypeConstraints(array())),
array(
'fieldTypeConstraints',
new Content\FieldTypeConstraints(
array(
'fieldSettings' => new FieldType\FieldSettings(
array(
'defaultAuthor' => 1,
)
),
)
),
),
);
}

Expand Down

0 comments on commit 6424544

Please sign in to comment.