@@ -108,6 +108,7 @@ public function testGetOptionsJson()
108
108
['Magento_Catalog ' , 'gallery/thumbmargin ' , '5 ' ],
109
109
['Magento_Catalog ' , 'gallery/transition/effect ' , 'slide ' ],
110
110
['Magento_Catalog ' , 'gallery/transition/duration ' , '500 ' ],
111
+ ['Magento_Catalog ' , 'product_image_white_borders ' , '1 ' ],
111
112
];
112
113
113
114
$ imageAttributesMap = [
@@ -144,6 +145,7 @@ public function testGetOptionsJson()
144
145
$ this ->assertSame (200 , $ decodedJson ['width ' ]);
145
146
$ this ->assertSame (300 , $ decodedJson ['thumbheight ' ]);
146
147
$ this ->assertSame (400 , $ decodedJson ['thumbwidth ' ]);
148
+ $ this ->assertSame (1 , $ decodedJson ['whiteBorders ' ]);
147
149
}
148
150
149
151
public function testGetFSOptionsJson ()
@@ -159,7 +161,8 @@ public function testGetFSOptionsJson()
159
161
['Magento_Catalog ' , 'gallery/fullscreen/navtype ' , 'thumbs ' ],
160
162
['Magento_Catalog ' , 'gallery/fullscreen/thumbmargin ' , '10 ' ],
161
163
['Magento_Catalog ' , 'gallery/fullscreen/transition/effect ' , 'dissolve ' ],
162
- ['Magento_Catalog ' , 'gallery/fullscreen/transition/duration ' , '300 ' ]
164
+ ['Magento_Catalog ' , 'gallery/fullscreen/transition/duration ' , '300 ' ],
165
+ ['Magento_Catalog ' , 'product_image_white_borders ' , '1 ' ],
163
166
];
164
167
165
168
$ this ->configView ->expects ($ this ->any ())
@@ -183,6 +186,7 @@ public function testGetFSOptionsJson()
183
186
$ this ->assertSame ('thumbs ' , $ decodedJson ['navtype ' ]);
184
187
$ this ->assertSame ('dissolve ' , $ decodedJson ['transition ' ]);
185
188
$ this ->assertSame (300 , $ decodedJson ['transitionduration ' ]);
189
+ $ this ->assertSame (1 , $ decodedJson ['whiteBorders ' ]);
186
190
}
187
191
188
192
public function testGetOptionsJsonOptionals ()
0 commit comments