Remove bank account

This commit is contained in:
Benjamin Beganović 2021-10-13 15:42:05 +02:00
parent 25525308fc
commit e67da85136

View File

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