From ca5dc00ab4aabbd08319ea8796c091f35967b95e Mon Sep 17 00:00:00 2001 From: konradoboza <34310128+konradoboza@users.noreply.github.com> Date: Wed, 29 Aug 2018 09:02:25 +0200 Subject: [PATCH] EZP-29290: Author Field Type prefilled by empty value by default (#2417) --- Repository/Tests/FieldType/AuthorIntegrationTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Repository/Tests/FieldType/AuthorIntegrationTest.php b/Repository/Tests/FieldType/AuthorIntegrationTest.php index 529c262bf..9c53d044b 100644 --- a/Repository/Tests/FieldType/AuthorIntegrationTest.php +++ b/Repository/Tests/FieldType/AuthorIntegrationTest.php @@ -42,7 +42,7 @@ public function getSettingsSchema() return array( 'defaultAuthor' => array( 'type' => 'choice', - 'default' => Type::DEFAULT_CURRENT_USER, + 'default' => Type::DEFAULT_VALUE_EMPTY, ), ); } @@ -55,7 +55,7 @@ public function getSettingsSchema() public function getValidFieldSettings() { return array( - 'defaultAuthor' => Type::DEFAULT_CURRENT_USER, + 'defaultAuthor' => Type::DEFAULT_VALUE_EMPTY, ); }