Skip to content

Commit

Permalink
EZP-29508: As an editor I want to manage ALT field with an image ass…
Browse files Browse the repository at this point in the history
…et field type (#2451)

* EZP-29508: As an editor I want to manage ALT field with an image asset field type

* fixup! EZP-29508: As an editor I want to manage ALT field with an image asset field type

* fixup! EZP-29508: As an editor I want to manage ALT field with an image asset field type

* fixup! EZP-29508: As an editor I want to manage ALT field with an image asset field type

* fixup! EZP-29508: As an editor I want to manage ALT field with an image asset field type
  • Loading branch information
adamwojs authored and Łukasz Serwatka committed Sep 20, 2018
1 parent 2a0a30d commit ee03aa1
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Tests/FieldType/ImageAssetIntegrationTest.php
Expand Up @@ -87,6 +87,15 @@ public function getInitialValue()
[
'data' => [
'destinationContentId' => 1,
'alternativeText' => null,
],
'externalData' => null,
'sortKey' => null,
],
[
'data' => [
'destinationContentId' => 1,
'alternativeText' => 'The alternative text',
],
'externalData' => null,
'sortKey' => null,
Expand All @@ -103,6 +112,15 @@ public function getUpdatedValue()
[
'data' => [
'destinationContentId' => 2,
'alternativeText' => null,
],
'externalData' => null,
'sortKey' => null,
],
[
'data' => [
'destinationContentId' => 2,
'alternativeText' => 'The alternative text',
],
'externalData' => null,
'sortKey' => null,
Expand Down

0 comments on commit ee03aa1

Please sign in to comment.