diff -u b/modules/payment/tests/src/FunctionalJavascript/PaymentCheckoutTest.php b/modules/payment/tests/src/FunctionalJavascript/PaymentCheckoutTest.php --- b/modules/payment/tests/src/FunctionalJavascript/PaymentCheckoutTest.php +++ b/modules/payment/tests/src/FunctionalJavascript/PaymentCheckoutTest.php @@ -785,7 +785,7 @@ $this->assertSession()->addressEquals('checkout/' . $order_id . '/payment'); $this->assertTrue($order->isLocked()); $this->assertEquals('stored_offsite', $order->get('payment_gateway')->target_id); - $this->submitForm([], 'Proceed to Example'); + $this->submitForm([], 'Proceed to Stored offsite'); } $this->assertSession()->pageTextContains('Your order number is ' . $order_id . '. You can view your order on your account page when logged in.'); @@ -801,7 +801,7 @@ $payment_method = $payment->getPaymentMethod(); $this->assertEquals(TRUE, $payment_method->isReusable()); $this->assertEquals('stored_offsite', $payment_method->getPaymentGatewayId()); - $this->assertEquals(1, $payment_method->id()); + $this->assertEquals(3, $payment_method->id()); } /**