Skip to content

Commit 0a82c15

Browse files
committed
Fix configs
1 parent 0c51edd commit 0a82c15

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

dev/tests/functional/tests/app/Magento/ProductVideo/Test/Fixture/Product/MediaGallery.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ public function __construct(array $params, $data = [])
4747
*
4848
* @param string $filename
4949
* @return void
50-
* @SuppressWarnings(PHPMD.UnusedLocalVariable)
5150
*/
5251
protected function createTestImage($filename)
5352
{
@@ -58,8 +57,6 @@ protected function createTestImage($filename)
5857

5958
// Create a color (this first call to imageColorAllocate
6059
// also automatically sets the image background color)
61-
$colorRed = imageColorAllocate($image, 255, 0, 0);
62-
// Create another color
6360
$colorYellow = imageColorAllocate($image, 255, 255, 0);
6461

6562
// Draw a rectangle

dev/tests/functional/tests/app/Magento/ProductVideo/Test/Repository/ConfigData.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
<field name="catalog/product_video/youtube_api_key" xsi:type="array">
1212
<item name="scope" xsi:type="string">default</item>
1313
<item name="scope_id" xsi:type="number">0</item>
14-
<item name="label" xsi:type="string"/>
14+
<item name="label" xsi:type="string">Yes</item>
1515
<item name="value" xsi:type="string">AIzaSyDwqDWuw1lra-LnpJL2Mr02DYuFmkuRSns</item>
1616
</field>
1717
</dataset>
1818
<dataset name="youtube_api_key_rollback">
1919
<field name="catalog/product_video/youtube_api_key" xsi:type="array">
2020
<item name="scope" xsi:type="string">default</item>
2121
<item name="scope_id" xsi:type="number">0</item>
22-
<item name="label" xsi:type="string"/>
22+
<item name="label" xsi:type="string">Yes</item>
2323
<item name="value" xsi:type="string"/>
2424
</field>
2525
</dataset>

0 commit comments

Comments
 (0)