Skip to content

Commit 50805d4

Browse files
authored
Fixed static tests
1 parent 0c35eb7 commit 50805d4

File tree

1 file changed

+2
-44
lines changed

1 file changed

+2
-44
lines changed

app/code/Magento/MediaGallery/Test/Unit/Model/DataExtractorTest.php

Lines changed: 2 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -78,49 +78,7 @@ protected function checkValues(array $expectedData, array $data, $model)
7878
public function assetProvider()
7979
{
8080
return [
81-
'Test case asset 1' => [
82-
Asset::class,
83-
null,
84-
[
85-
'id' => [
86-
'value' => 1,
87-
'method' => 'getId',
88-
],
89-
'path' => [
90-
'value' => 'path',
91-
'method' => 'getPath',
92-
],
93-
'title' => [
94-
'value' => 'title',
95-
'method' => 'getTitle',
96-
],
97-
'source' => [
98-
'value' => 'source',
99-
'method' => 'getSource',
100-
],
101-
'content_type' => [
102-
'value' => 'content_type',
103-
'method' => 'getContentType',
104-
],
105-
'width' => [
106-
'value' => 1,
107-
'method' => 'getWidth',
108-
],
109-
'height' => [
110-
'value' => 2,
111-
'method' => 'getHeight',
112-
],
113-
'created_at' => [
114-
'value' => '2019-11-28 10:40:09',
115-
'method' => 'getCreatedAt',
116-
],
117-
'updated_at' => [
118-
'value' => '2019-11-28 10:41:08',
119-
'method' => 'getUpdatedAt',
120-
],
121-
],
122-
],
123-
'Test case asset 2' => [
81+
'Asset conversion with interface' => [
12482
Asset::class,
12583
AssetInterface::class,
12684
[
@@ -162,7 +120,7 @@ public function assetProvider()
162120
],
163121
],
164122
],
165-
'Test case keyword 1' => [
123+
'Keyword conversion without interface' => [
166124
Keyword::class,
167125
null,
168126
[

0 commit comments

Comments
 (0)