mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Data seeding: WePay
This commit is contained in:
parent
aaa390f2e2
commit
97919aa573
@ -12,6 +12,7 @@
|
||||
|
||||
namespace Tests\Browser\ClientPortal\Gateways\WePay;
|
||||
|
||||
use App\Models\CompanyGateway;
|
||||
use Laravel\Dusk\Browser;
|
||||
use Tests\Browser\Pages\ClientPortal\Login;
|
||||
use Tests\DuskTestCase;
|
||||
@ -26,6 +27,10 @@ class CreditCardTest extends DuskTestCase
|
||||
$browser->driver->manage()->deleteAllCookies();
|
||||
}
|
||||
|
||||
$this->disableCompanyGateways();
|
||||
|
||||
CompanyGateway::where('gateway_key', '8fdeed552015b3c7b44ed6c8ebd9e992')->restore();
|
||||
|
||||
$this->browse(function (Browser $browser) {
|
||||
$browser
|
||||
->visit(new Login())
|
||||
|
Loading…
Reference in New Issue
Block a user