Skip to content

Commit afaede9

Browse files
committed
minor fix
1 parent 7bd8e06 commit afaede9

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

dev/tests/integration/testsuite/Magento/PaypalGraphQl/Model/Resolver/Customer/SaveCartDataWithPayflowProTest.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@ public function testPlaceOrderAndSaveDataForFuturePayflowPro(): void
8181
* @magentoDataFixture Magento/GraphQl/Quote/_files/set_flatrate_shipping_method.php
8282
*
8383
* @return void
84-
*
85-
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
8684
*/
8785
public function testPlaceOrderAndNotSaveDataForFuturePayflowPro(): void
8886
{
@@ -97,6 +95,7 @@ public function testPlaceOrderAndNotSaveDataForFuturePayflowPro(): void
9795
* @param $isActivePaymentTokenEnabler
9896
*
9997
* @return array
98+
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
10099
*/
101100
private function placeOrderPayflowPro($isActivePaymentTokenEnabler)
102101
{
@@ -241,7 +240,11 @@ private function getVaultCartData()
241240
{
242241
/** @var PaymentTokenManagement $tokenManagement */
243242
$tokenManagement = $this->objectManager->get(PaymentTokenManagement::class);
244-
$token = $tokenManagement->getByGatewayToken('B70CCC236815', 'payflowpro',1);
243+
$token = $tokenManagement->getByGatewayToken(
244+
'B70CCC236815',
245+
'payflowpro',
246+
1
247+
);
245248
/** @var PaymentTokenRepository $tokenRepository */
246249
$tokenRepository = $this->objectManager->get(PaymentTokenRepository::class);
247250
return $tokenRepository->getById($token->getEntityId());

0 commit comments

Comments
 (0)