Skip to content

Commit fd30091

Browse files
author
Dmytro Vilchynskyi
committed
MAGETWO-31195: Image compression and sizing
- fixed tests
1 parent 5961237 commit fd30091

File tree

7 files changed

+5
-5
lines changed

7 files changed

+5
-5
lines changed

app/code/Magento/Catalog/etc/widget.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<widgets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
99
xsi:noNamespaceSchemaLocation="../../../Magento/Widget/etc/widget.xsd">
1010
<widget id="new_products" class="Magento\Catalog\Block\Product\Widget\NewWidget" is_email_compatible="true"
11-
placeholder_image="Magento_Catalog::images/product_widget_new.gif" ttl="86400">
11+
placeholder_image="Magento_Catalog::images/product_widget_new.png" ttl="86400">
1212
<label translate="true">Catalog New Products List</label>
1313
<description translate="true">List of Products that are set as New</description>
1414
<parameters>

dev/tests/integration/testsuite/Magento/Widget/Model/Config/_files/catalog_new_products_list.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<widgets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
99
xsi:noNamespaceSchemaLocation="../../../../../../../../../app/code/Magento/Widget/etc/widget.xsd">
1010
<widget id="new_products" class="Magento\Catalog\Block\Product\Widget\NewWidget" is_email_compatible="true"
11-
placeholder_image="Magento_Catalog::images/product_widget_new.gif">
11+
placeholder_image="Magento_Catalog::images/product_widget_new.png">
1212
<label translate="true">Catalog New Products List</label>
1313
<description translate="true">List of Products that are set as New</description>
1414
<parameters>

dev/tests/integration/testsuite/Magento/Widget/Model/Config/_files/expectedMergedArray.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
'new_products' => [
88
'@' => ['type' => 'Magento\Sales\Block\Widget\Guest\Form'],
99
'is_email_compatible' => '1',
10-
'placeholder_image' => 'Magento_Catalog::images/product_widget_new.gif',
10+
'placeholder_image' => 'Magento_Catalog::images/product_widget_new.png',
1111
'name' => 'Orders and Returns',
1212
'description' => 'Orders and Returns Search Form',
1313
'parameters' => [

dev/tests/integration/testsuite/Magento/Widget/Model/WidgetTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function getPlaceholderImageUrlDataProvider()
6060
return [
6161
'custom image' => [
6262
'Magento\Catalog\Block\Product\Widget\NewWidget',
63-
'Magento_Catalog/images/product_widget_new.gif',
63+
'Magento_Catalog/images/product_widget_new.png',
6464
],
6565
'default image' => ['non_existing_widget_type', 'Magento_Widget/placeholder.gif']
6666
];

dev/tests/static/testsuite/Magento/Test/Integrity/Magento/Widget/_files/invalid_widget.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<widgets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
99
xsi:noNamespaceSchemaLocation="../../../../../../../../../../app/code/Magento/Widget/etc/widget.xsd">
1010
<widget id="new_products" class="Magento\Catalog\Block\Product\Widget\NewWidget" module="Magento_Catalog" is_email_compatible="true"
11-
placeholder_image="Magento_Catalog::images/product_widget_new.gif" translate="label description">
11+
placeholder_image="Magento_Catalog::images/product_widget_new.png" translate="label description">
1212
<label>Catalog New Products List</label>
1313
<description>List of Products that are set as New</description>
1414
<parameter name="display_type" type="select" required="true" visible="true" translate="label description">

0 commit comments

Comments
 (0)