Skip to content

Commit

Permalink
Merge pull request #874 from webhdx/custom_tag_map_config_test_fix
Browse files Browse the repository at this point in the history
EZP-30220: CustomTagTest::testMapConfig fails in phpunit
  • Loading branch information
Łukasz Serwatka authored Mar 5, 2019
2 parents bad67ca + f5a3eff commit 5b56cca
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public function providerForTestMapConfig(): array
'ezyoutube' => [
'template' => '@ezdesign/fields/ezrichtext/custom_tags/ezyoutube.html.twig',
'icon' => '/bundles/ezplatformadminui/img/ez-icons.svg#video',
'is_inline' => false,
'attributes' => [
'width' => [
'type' => 'number',
Expand All @@ -78,6 +79,7 @@ public function providerForTestMapConfig(): array
'eztwitter' => [
'template' => '@ezdesign/fields/ezrichtext/custom_tags/eztwitter.html.twig',
'icon' => '/bundles/ezplatformadminui/img/ez-icons.svg#twitter',
'is_inline' => false,
'attributes' => [
'tweet_url' => [
'type' => 'string',
Expand All @@ -102,6 +104,7 @@ public function providerForTestMapConfig(): array
'label' => 'ezrichtext.custom_tags.ezyoutube.label',
'description' => 'ezrichtext.custom_tags.ezyoutube.description',
'icon' => '/bundles/ezplatformadminui/img/ez-icons.svg#video',
'isInline' => false,
'attributes' => [
'width' => [
'label' => 'ezrichtext.custom_tags.ezyoutube.attributes.width.label',
Expand All @@ -127,6 +130,7 @@ public function providerForTestMapConfig(): array
'label' => 'ezrichtext.custom_tags.eztwitter.label',
'description' => 'ezrichtext.custom_tags.eztwitter.description',
'icon' => '/bundles/ezplatformadminui/img/ez-icons.svg#twitter',
'isInline' => false,
'attributes' => [
'tweet_url' => [
'label' => 'ezrichtext.custom_tags.eztwitter.attributes.tweet_url.label',
Expand Down

0 comments on commit 5b56cca

Please sign in to comment.