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)
4343 * Test data provider.
4444 */
4545 public static function variationProvider ()
46- {
46+ {
4747 return [
48- ' with_attribute_id ' => [
49- ' expectedResult ' => [
48+ [
49+ [
5050 'result ' => [
5151 [
5252 130 => [
@@ -101,10 +101,8 @@ public static function variationProvider()
101101 ],
102102 ],
103103 ]
104- ]
105- ],
106- 'without_attribute_id ' => [
107- 'expectedResult ' => [
104+ ],
105+ [
108106 'result ' => [
109107 [
110108 130 => [
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ public static function canShowTabProvider()
112112 ],
113113 'config integration data ' => [
114114 'integrationData ' => [Info::DATA_SETUP_TYPE => IntegrationModel::TYPE_CONFIG ],
115- 'expectedValue ' => true
115+ 'expectedValue ' => false
116116 ]
117117 ];
118118 }
@@ -227,7 +227,7 @@ public static function isEverythingAllowedWithSavedFromDataProvider()
227227 /**
228228 * @param array $integrationData
229229 * @param array $selectedResources
230- * @return Webapi
230+ * @return Webapi|object
231231 */
232232 private function getWebapiBlock ($ integrationData = [], array $ selectedResources = [])
233233 {
You can’t perform that action at this time.
0 commit comments