File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed
ConfigurableProduct/Test/Unit/Model/Product/Type
Integration/Test/Unit/Block/Adminhtml/Integration/Edit/Tab Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -43,10 +43,10 @@ public function testGetVariations($expectedResult)
43
43
* Test data provider.
44
44
*/
45
45
public static function variationProvider ()
46
- {
46
+ {
47
47
return [
48
- ' with_attribute_id ' => [
49
- ' expectedResult ' => [
48
+ [
49
+ [
50
50
'result ' => [
51
51
[
52
52
130 => [
@@ -101,10 +101,8 @@ public static function variationProvider()
101
101
],
102
102
],
103
103
]
104
- ]
105
- ],
106
- 'without_attribute_id ' => [
107
- 'expectedResult ' => [
104
+ ],
105
+ [
108
106
'result ' => [
109
107
[
110
108
130 => [
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ public static function canShowTabProvider()
112
112
],
113
113
'config integration data ' => [
114
114
'integrationData ' => [Info::DATA_SETUP_TYPE => IntegrationModel::TYPE_CONFIG ],
115
- 'expectedValue ' => true
115
+ 'expectedValue ' => false
116
116
]
117
117
];
118
118
}
@@ -227,7 +227,7 @@ public static function isEverythingAllowedWithSavedFromDataProvider()
227
227
/**
228
228
* @param array $integrationData
229
229
* @param array $selectedResources
230
- * @return Webapi
230
+ * @return Webapi|object
231
231
*/
232
232
private function getWebapiBlock ($ integrationData = [], array $ selectedResources = [])
233
233
{
You can’t perform that action at this time.
0 commit comments