mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 05:34:30 -04:00
Fixes for tests
This commit is contained in:
parent
f0aa62100f
commit
34e1854114
@ -12,6 +12,7 @@
|
|||||||
|
|
||||||
namespace Tests\Browser\ClientPortal\Gateways\WePay;
|
namespace Tests\Browser\ClientPortal\Gateways\WePay;
|
||||||
|
|
||||||
|
use App\Models\Client;
|
||||||
use App\Models\CompanyGateway;
|
use App\Models\CompanyGateway;
|
||||||
use Laravel\Dusk\Browser;
|
use Laravel\Dusk\Browser;
|
||||||
use Tests\Browser\Pages\ClientPortal\Login;
|
use Tests\Browser\Pages\ClientPortal\Login;
|
||||||
@ -36,6 +37,8 @@ class CreditCardTest extends DuskTestCase
|
|||||||
->visit(new Login())
|
->visit(new Login())
|
||||||
->auth();
|
->auth();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Client::first()->update(['postal_code' => 99501]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testPayWithNewCard()
|
public function testPayWithNewCard()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user