Skip to content

Commit b1b0800

Browse files
committed
AC-13414: Credit Card(Payflow Link) payment is not working
Fix static test failures
1 parent fefec6c commit b1b0800

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dev/tests/integration/testsuite/Magento/Paypal/Plugin/PayflowSilentPostTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Copyright 2025 Adobe
44
* All rights reserved.
55
*/
6-
namespace integration\testsuite\Magento\Paypal\Plugin;
6+
namespace Magento\Paypal\Plugin;
77

88
use Magento\Framework\Api\FilterBuilder;
99
use Magento\Framework\Api\SearchCriteriaBuilder;
@@ -57,7 +57,7 @@ protected function setUp(): void
5757
$this->_objectManager->addSharedInstance($this->gateway, Gateway::class);
5858
$this->_objectManager->addSharedInstance($this->orderSender, OrderSender::class);
5959

60-
$order = $this->getOrder($this->orderIncrementId);
60+
$order = $this->getOrder();
6161
$payment = $this->_objectManager->create(Payment::class);
6262
$payment->setMethod(Config::METHOD_PAYFLOWLINK)
6363
->setBaseAmountAuthorized(100)
@@ -100,7 +100,7 @@ public function testOrderStatusWithDifferentPaypalResponse($resultCode, $orderSt
100100
$this->dispatch('paypal/payflow/returnUrl');
101101
self::assertEquals(200, $this->getResponse()->getStatusCode());
102102

103-
$order = $this->getOrder($this->orderIncrementId);
103+
$order = $this->getOrder();
104104
self::assertEquals($orderState, $order->getState());
105105
self::assertEquals($orderStatus, $order->getStatus());
106106
}

0 commit comments

Comments
 (0)