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 2020
2121/**
2222 * @magentoDataFixture Magento/Catalog/_files/product_simple.php
23+ * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
2324 */
2425class DateTest extends TestCase
2526{
@@ -96,9 +97,10 @@ protected function tearDown(): void
9697 }
9798
9899 /**
99- * @magentoAppArea frontend
100100 * @param array $data
101101 * @param array $expected
102+ * @magentoAppArea frontend
103+ * @magentoConfigFixture current_store catalog/custom_options/year_range 2020,2030
102104 * @dataProvider toHtmlWithDropDownDataProvider
103105 */
104106 public function testToHtmlWithDropDown (array $ data , array $ expected ): void
@@ -108,11 +110,12 @@ public function testToHtmlWithDropDown(array $data, array $expected): void
108110 }
109111
110112 /**
111- * @magentoAppArea frontend
112- * @magentoConfigFixture current_store catalog/custom_options/use_calendar 1
113113 * @param array $data
114114 * @param array $expected
115115 * @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
116119 * @dataProvider toHtmlWithCalendarDataProvider
117120 */
118121 public function testToHtmlWithCalendar (array $ data , array $ expected , ?string $ locale = null ): void
You can’t perform that action at this time.
0 commit comments