Skip to content

Commit ae51778

Browse files
MC-22738: Layered Navigation with different product attributes on Category page
1 parent 4b0538f commit ae51778

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

dev/tests/integration/testsuite/Magento/LayeredNavigation/Block/Navigation/Category/BooleanFilterTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function getFiltersWithCustomAttributeDataProvider(): array
5050
'not_used_in_navigation' => [
5151
'products_data' => [],
5252
'filterable' => 0,
53-
'expectation' => []
53+
'expectation' => [],
5454
],
5555
'used_in_navigation_with_results' => [
5656
'products_data' => [
@@ -60,7 +60,7 @@ public function getFiltersWithCustomAttributeDataProvider(): array
6060
'filterable' => AbstractFilter::ATTRIBUTE_OPTIONS_ONLY_WITH_RESULTS,
6161
'expectation' => [
6262
['label' => 'Yes', 'count' => 2],
63-
]
63+
],
6464
],
6565
'used_in_navigation_without_results' => [
6666
'products_data' => [
@@ -71,7 +71,7 @@ public function getFiltersWithCustomAttributeDataProvider(): array
7171
'expectation' => [
7272
['label' => 'Yes', 'count' => 2],
7373
['label' => 'No', 'count' => 0],
74-
]
74+
],
7575
],
7676
];
7777
}

dev/tests/integration/testsuite/Magento/LayeredNavigation/Block/Navigation/Category/DecimalFilterTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public function getFiltersWithCustomAttributeDataProvider(): array
9595
'not_used_in_navigation' => [
9696
'products_data' => [],
9797
'filterable' => 0,
98-
'expectation' => []
98+
'expectation' => [],
9999
],
100100
'used_in_navigation_with_results' => [
101101
'products_data' => [
@@ -114,7 +114,7 @@ public function getFiltersWithCustomAttributeDataProvider(): array
114114
'value' => '20-',
115115
'count' => 1,
116116
],
117-
]
117+
],
118118
],
119119
];
120120
}

dev/tests/integration/testsuite/Magento/LayeredNavigation/Block/Navigation/Category/MultiselectFilterTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function getFiltersWithCustomAttributeDataProvider(): array
5050
'not_used_in_navigation' => [
5151
'products_data' => [],
5252
'filterable' => 0,
53-
'expectation' => []
53+
'expectation' => [],
5454
],
5555
'used_in_navigation_with_results' => [
5656
'products_data' => [
@@ -61,7 +61,7 @@ public function getFiltersWithCustomAttributeDataProvider(): array
6161
'expectation' => [
6262
['label' => 'Option 1', 'count' => 1],
6363
['label' => 'Option 2', 'count' => 1],
64-
]
64+
],
6565
],
6666
'used_in_navigation_without_results' => [
6767
'products_data' => [
@@ -74,7 +74,7 @@ public function getFiltersWithCustomAttributeDataProvider(): array
7474
['label' => 'Option 2', 'count' => 1],
7575
['label' => 'Option 3', 'count' => 0],
7676
['label' => 'Option 4 "!@#$%^&*', 'count' => 0],
77-
]
77+
],
7878
],
7979
];
8080
}

dev/tests/integration/testsuite/Magento/SwatchesLayeredNavigation/Block/Navigation/Category/SwatchTextFilterTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function getFiltersWithCustomAttributeDataProvider(): array
5151
'not_used_in_navigation' => [
5252
'products_data' => [],
5353
'filterable' => 0,
54-
'expectation' => []
54+
'expectation' => [],
5555
],
5656
'used_in_navigation_with_results' => [
5757
'products_data' => [
@@ -62,7 +62,7 @@ public function getFiltersWithCustomAttributeDataProvider(): array
6262
'expectation' => [
6363
['label' => 'Option 1', 'count' => 1],
6464
['label' => 'Option 2', 'count' => 1],
65-
]
65+
],
6666
],
6767
'used_in_navigation_without_results' => [
6868
'products_data' => [
@@ -74,7 +74,7 @@ public function getFiltersWithCustomAttributeDataProvider(): array
7474
['label' => 'Option 3', 'count' => 0],
7575
['label' => 'Option 1', 'count' => 1],
7676
['label' => 'Option 2', 'count' => 1],
77-
]
77+
],
7878
],
7979
];
8080
}

dev/tests/integration/testsuite/Magento/SwatchesLayeredNavigation/Block/Navigation/Category/SwatchVisualFilterTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function getFiltersWithCustomAttributeDataProvider(): array
5151
'not_used_in_navigation' => [
5252
'products_data' => [],
5353
'filterable' => 0,
54-
'expectation' => []
54+
'expectation' => [],
5555
],
5656
'used_in_navigation_with_results' => [
5757
'products_data' => [
@@ -62,7 +62,7 @@ public function getFiltersWithCustomAttributeDataProvider(): array
6262
'expectation' => [
6363
['label' => 'option 1', 'count' => 1],
6464
['label' => 'option 2', 'count' => 1],
65-
]
65+
],
6666
],
6767
'used_in_navigation_without_results' => [
6868
'products_data' => [
@@ -74,7 +74,7 @@ public function getFiltersWithCustomAttributeDataProvider(): array
7474
['label' => 'option 1', 'count' => 1],
7575
['label' => 'option 2', 'count' => 1],
7676
['label' => 'option 3', 'count' => 0],
77-
]
77+
],
7878
],
7979
];
8080
}

0 commit comments

Comments
 (0)