@@ -108,6 +108,7 @@ public function testGetOptionsJson()
108108 ['Magento_Catalog ' , 'gallery/thumbmargin ' , '5 ' ],
109109 ['Magento_Catalog ' , 'gallery/transition/effect ' , 'slide ' ],
110110 ['Magento_Catalog ' , 'gallery/transition/duration ' , '500 ' ],
111+ ['Magento_Catalog ' , 'product_image_white_borders ' , '1 ' ],
111112 ];
112113
113114 $ imageAttributesMap = [
@@ -144,6 +145,7 @@ public function testGetOptionsJson()
144145 $ this ->assertSame (200 , $ decodedJson ['width ' ]);
145146 $ this ->assertSame (300 , $ decodedJson ['thumbheight ' ]);
146147 $ this ->assertSame (400 , $ decodedJson ['thumbwidth ' ]);
148+ $ this ->assertSame (1 , $ decodedJson ['whiteBorders ' ]);
147149 }
148150
149151 public function testGetFSOptionsJson ()
@@ -159,7 +161,8 @@ public function testGetFSOptionsJson()
159161 ['Magento_Catalog ' , 'gallery/fullscreen/navtype ' , 'thumbs ' ],
160162 ['Magento_Catalog ' , 'gallery/fullscreen/thumbmargin ' , '10 ' ],
161163 ['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 ' ],
163166 ];
164167
165168 $ this ->configView ->expects ($ this ->any ())
@@ -183,6 +186,7 @@ public function testGetFSOptionsJson()
183186 $ this ->assertSame ('thumbs ' , $ decodedJson ['navtype ' ]);
184187 $ this ->assertSame ('dissolve ' , $ decodedJson ['transition ' ]);
185188 $ this ->assertSame (300 , $ decodedJson ['transitionduration ' ]);
189+ $ this ->assertSame (1 , $ decodedJson ['whiteBorders ' ]);
186190 }
187191
188192 public function testGetOptionsJsonOptionals ()
0 commit comments