Skip to content

Commit 500acc3

Browse files
author
Gabriel Galvao da Gama
committed
Removing test prefix from data providers
1 parent f02a540 commit 500acc3

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

dev/tests/integration/testsuite/Magento/MediaContentCatalog/Model/ResourceModel/GetAssetIdsByContentFieldTest.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,10 @@ protected function setUp(): void
4242
/**
4343
* Test for getting asset id by category fields
4444
*
45-
* @dataProvider testProvider
45+
* @dataProvider dataProvider
4646
* @magentoDataFixture Magento/MediaGallery/_files/media_asset.php
4747
* @magentoDataFixture Magento/MediaContentCatalog/_files/category_with_asset.php
48+
*
4849
* @param string $field
4950
* @param string $value
5051
* @param array $expectedAssetIds
@@ -61,9 +62,10 @@ public function testCategoryFields(string $field, string $value, array $expected
6162
/**
6263
* Test for getting asset id by product fields
6364
*
64-
* @dataProvider testProvider
65+
* @dataProvider dataProvider
6566
* @magentoDataFixture Magento/MediaGallery/_files/media_asset.php
6667
* @magentoDataFixture Magento/MediaContentCatalog/_files/product_with_asset.php
68+
*
6769
* @param string $field
6870
* @param string $value
6971
* @param array $expectedAssetIds
@@ -82,7 +84,7 @@ public function testProductFields(string $field, string $value, array $expectedA
8284
*
8385
* @return array
8486
*/
85-
public static function testProvider(): array
87+
public static function dataProvider(): array
8688
{
8789
return [
8890
[self::STATUS_FIELD, self::STATUS_ENABLED, [self::FIXTURE_ASSET_ID]],

dev/tests/integration/testsuite/Magento/MediaContentCms/Model/ResourceModel/GetAssetIdsByContentFieldTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ protected function setUp(): void
4343
/**
4444
* Test for getting asset id by block field
4545
*
46-
* @dataProvider testBlockDataProvider
46+
* @dataProvider blockDataProvider
4747
* @magentoDataFixture Magento/MediaGallery/_files/media_asset.php
4848
* @magentoDataFixture Magento/MediaContentCms/_files/block_with_asset.php
4949
*
@@ -63,7 +63,7 @@ public function testBlockFields(string $field, string $value, array $expectedAss
6363
/**
6464
* Test for getting asset id by page field
6565
*
66-
* @dataProvider testPageDataProvider
66+
* @dataProvider pageDataProvider
6767
* @magentoDataFixture Magento/MediaGallery/_files/media_asset.php
6868
* @magentoDataFixture Magento/MediaContentCms/_files/page_with_asset.php
6969
*
@@ -85,7 +85,7 @@ public function testPageFields(string $field, string $value, array $expectedAsse
8585
*
8686
* @return array
8787
*/
88-
public static function testBlockDataProvider(): array
88+
public static function blockDataProvider(): array
8989
{
9090
return [
9191
[self::STATUS_FIELD, self::STATUS_ENABLED, [self::FIXTURE_ASSET_ID]],
@@ -99,7 +99,7 @@ public static function testBlockDataProvider(): array
9999
*
100100
* @return array
101101
*/
102-
public static function testPageDataProvider(): array
102+
public static function pageDataProvider(): array
103103
{
104104
return [
105105
[self::STATUS_FIELD, self::STATUS_ENABLED, [self::FIXTURE_ASSET_ID]],

0 commit comments

Comments
 (0)