mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Tests: Paying without method preauthorized
This commit is contained in:
parent
cd3d0efb7a
commit
9b52ad39e9
@ -27,4 +27,16 @@ class ACHTest extends DuskTestCase
|
||||
->auth();
|
||||
});
|
||||
}
|
||||
|
||||
public function testPayingWithNoPreauthorizedIsntPossible()
|
||||
{
|
||||
$this->browse(function (Browser $browser) {
|
||||
$browser
|
||||
->visitRoute('client.invoices.index')
|
||||
->click('@pay-now')
|
||||
->press('Pay Now')
|
||||
->clickLink('Bank Transfer')
|
||||
->assertSee('To pay with a bank account, first you have to add it as payment method.');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user