mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Gateways: WePay: Credit card: Removing credit card
This commit is contained in:
parent
4a70d74354
commit
59c4ec63cc
@ -89,4 +89,17 @@ class CreditCardTest extends DuskTestCase
|
|||||||
->waitForText('Details of the payment', 60);
|
->waitForText('Details of the payment', 60);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function testRemoveCreditCard()
|
||||||
|
{
|
||||||
|
$this->browse(function (Browser $browser) {
|
||||||
|
$browser
|
||||||
|
->visitRoute('client.payment_methods.index')
|
||||||
|
->clickLink('View')
|
||||||
|
->press('Remove Payment Method')
|
||||||
|
->waitForText('Confirmation')
|
||||||
|
->click('@confirm-payment-removal')
|
||||||
|
->assertSee('Payment method has been successfully removed.');
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user