1
0
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:
Benjamin Beganović 2021-07-11 17:09:45 +02:00
parent aaa390f2e2
commit 97919aa573

View File

@ -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())