Skip to content

Commit ee6df01

Browse files
committed
MAGETWO-37464: Merge and Fix Builds
- Fixed static tests - Fixed to use correct SOAP operation for customer update
1 parent a7d3343 commit ee6df01

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

app/code/Magento/Rss/App/Action/Plugin/BackendAuthentication.php

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414

1515
/**
1616
* Class BackendAuthentication
17-
* @package Magento\Rss\App\Action\Plugin
17+
*
18+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
1819
*/
1920
class BackendAuthentication extends \Magento\Backend\App\Action\Plugin\Authentication
2021
{
@@ -51,6 +52,7 @@ class BackendAuthentication extends \Magento\Backend\App\Action\Plugin\Authentic
5152
* @param \Psr\Log\LoggerInterface $logger
5253
* @param \Magento\Framework\AuthorizationInterface $authorization
5354
* @param array $aclResources
55+
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
5456
*/
5557
public function __construct(
5658
\Magento\Backend\Model\Auth $auth,
@@ -70,8 +72,16 @@ public function __construct(
7072
$this->logger = $logger;
7173
$this->authorization = $authorization;
7274
$this->aclResources = $aclResources;
73-
parent::__construct($auth, $url, $response, $actionFlag, $messageManager, $backendUrl, $resultRedirectFactory,
74-
$backendAppList);
75+
parent::__construct(
76+
$auth,
77+
$url,
78+
$response,
79+
$actionFlag,
80+
$messageManager,
81+
$backendUrl,
82+
$resultRedirectFactory,
83+
$backendAppList
84+
);
7585
}
7686

7787
/**

dev/tests/api-functional/testsuite/Magento/Customer/Api/AccountManagementCustomAttributesTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,9 @@ public function testUpdateCustomerWithImageAttribute()
258258
'httpMethod' => \Magento\Framework\Webapi\Rest\Request::HTTP_METHOD_PUT,
259259
],
260260
'soap' => [
261-
'service' => self::SERVICE_NAME,
261+
'service' => 'customerCustomerRepositoryV1',
262262
'serviceVersion' => self::SERVICE_VERSION,
263-
'operation' => self::SERVICE_NAME . 'Save',
263+
'operation' => 'customerCustomerRepositoryV1Save',
264264
],
265265
];
266266
$customerData = $this->_webApiCall($serviceInfo, $requestData);

0 commit comments

Comments
 (0)