1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 16:31:33 +02:00

Gateways: Stripe: ACH: Removing ACH account

This commit is contained in:
Benjamin Beganović 2021-07-07 14:27:50 +02:00
parent 38c7e84b21
commit 9be5de3e89

View File

@ -85,4 +85,17 @@ class ACHTest extends DuskTestCase
->waitForText('Details of the payment', 60);
});
}
public function testRemoveACHAccount()
{
$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.');
});
}
}