diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php index 18fd55344cb3..dc5ee29bd415 100644 --- a/resources/lang/en/texts.php +++ b/resources/lang/en/texts.php @@ -4297,7 +4297,10 @@ $LANG = array( 'lang_Latvian' => 'Latvian', 'expiry_date' => 'Expiry date', 'cardholder_name' => 'Card holder name', - + 'account_type' => 'Account type', + 'locality' => 'Locality', + 'checking' => 'Checking', + 'savings' => 'Savings', ); return $LANG; diff --git a/tests/Browser/ClientPortal/Gateways/Braintree/ACHTest.php b/tests/Browser/ClientPortal/Gateways/Braintree/ACHTest.php index 0673dc6fc907..9f0887dccce1 100644 --- a/tests/Browser/ClientPortal/Gateways/Braintree/ACHTest.php +++ b/tests/Browser/ClientPortal/Gateways/Braintree/ACHTest.php @@ -46,4 +46,21 @@ class ACHTest extends DuskTestCase $company->settings = $settings; $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.'); + }); + } }