File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
dev/tests/integration/testsuite/Magento/Catalog/Block/Product/View/Options/Type Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 20
20
21
21
/**
22
22
* @magentoDataFixture Magento/Catalog/_files/product_simple.php
23
+ * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
23
24
*/
24
25
class DateTest extends TestCase
25
26
{
@@ -96,9 +97,10 @@ protected function tearDown(): void
96
97
}
97
98
98
99
/**
99
- * @magentoAppArea frontend
100
100
* @param array $data
101
101
* @param array $expected
102
+ * @magentoAppArea frontend
103
+ * @magentoConfigFixture current_store catalog/custom_options/year_range 2020,2030
102
104
* @dataProvider toHtmlWithDropDownDataProvider
103
105
*/
104
106
public function testToHtmlWithDropDown (array $ data , array $ expected ): void
@@ -108,11 +110,12 @@ public function testToHtmlWithDropDown(array $data, array $expected): void
108
110
}
109
111
110
112
/**
111
- * @magentoAppArea frontend
112
- * @magentoConfigFixture current_store catalog/custom_options/use_calendar 1
113
113
* @param array $data
114
114
* @param array $expected
115
115
* @param string|null $locale
116
+ * @magentoAppArea frontend
117
+ * @magentoConfigFixture current_store catalog/custom_options/use_calendar 1
118
+ * @magentoConfigFixture current_store catalog/custom_options/year_range 2020,2030
116
119
* @dataProvider toHtmlWithCalendarDataProvider
117
120
*/
118
121
public function testToHtmlWithCalendar (array $ data , array $ expected , ?string $ locale = null ): void
You can’t perform that action at this time.
0 commit comments