mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 17:44:29 -04:00
Fix for tests
This commit is contained in:
parent
12b754dc32
commit
b06b437e27
@ -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…
x
Reference in New Issue
Block a user