Fix for tests
This commit is contained in:
parent
12b754dc32
commit
b06b437e27
2 changed files with 2 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ class WePayPaymentDriver extends BasePaymentDriver
|
|||
];
|
||||
}
|
||||
|
||||
public function startPurchase($input, $sourceId)
|
||||
public function startPurchase($input = false, $sourceId = false)
|
||||
{
|
||||
$data = parent::startPurchase($input, $sourceId);
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ class OnlinePaymentCest
|
|||
|
||||
// set gateway info
|
||||
$I->wantTo('create a gateway');
|
||||
$I->amOnPage('/gateways/create/0');
|
||||
$I->amOnPage('/gateways/create?other_providers=true');
|
||||
|
||||
$I->fillField(['name' =>'23_apiKey'], env('stripe_secret_key') ?: Fixtures::get('stripe_secret_key'));
|
||||
// Fails to load StripeJS causing "ReferenceError: Can't find variable: Stripe"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue