mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Test adding bank account
This commit is contained in:
parent
ab90db5295
commit
3b22fc5e17
@ -4297,7 +4297,10 @@ $LANG = array(
|
|||||||
'lang_Latvian' => 'Latvian',
|
'lang_Latvian' => 'Latvian',
|
||||||
'expiry_date' => 'Expiry date',
|
'expiry_date' => 'Expiry date',
|
||||||
'cardholder_name' => 'Card holder name',
|
'cardholder_name' => 'Card holder name',
|
||||||
|
'account_type' => 'Account type',
|
||||||
|
'locality' => 'Locality',
|
||||||
|
'checking' => 'Checking',
|
||||||
|
'savings' => 'Savings',
|
||||||
);
|
);
|
||||||
|
|
||||||
return $LANG;
|
return $LANG;
|
||||||
|
@ -46,4 +46,21 @@ class ACHTest extends DuskTestCase
|
|||||||
$company->settings = $settings;
|
$company->settings = $settings;
|
||||||
$company->save();
|
$company->save();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function testAddingBankAccount()
|
||||||
|
{
|
||||||
|
$this->browse(function (Browser $browser) {
|
||||||
|
$browser
|
||||||
|
->visitRoute('client.payment_methods.index')
|
||||||
|
->press('Add Payment Method')
|
||||||
|
->clickLink('Bank Account')
|
||||||
|
->type('#account-holder-name', 'John Doe')
|
||||||
|
->type('#account-number', '1000000000')
|
||||||
|
->type('#routing-number', '011000015')
|
||||||
|
->type('#billing-region', 'AL')
|
||||||
|
->type('#billing-postal-code', '12345')
|
||||||
|
->press('Add Payment Method')
|
||||||
|
->assertSee('Added payment method.');
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user