mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Fixes for tests
This commit is contained in:
parent
d93bac1b09
commit
717a34aa99
@ -53,7 +53,7 @@ class TwilioController extends BaseController
|
||||
}
|
||||
catch(\Exception $e) {
|
||||
|
||||
return response()->json(['message' => 'Phone number format is incorrect, please use international number format and try again.'], 400);
|
||||
return response()->json(['message' => 'Invalid phone number please use + country code + number ie. +15552343334'], 400);
|
||||
|
||||
}
|
||||
|
||||
|
@ -39,9 +39,9 @@ class ApplePayDomainMerchantUrlTest extends TestCase
|
||||
|
||||
public function testMerchantFieldGet()
|
||||
{
|
||||
// if (! config('ninja.testvars.stripe')) {
|
||||
if (! config('ninja.testvars.stripe')) {
|
||||
$this->markTestSkipped('Skip test no company gateways installed');
|
||||
// }
|
||||
}
|
||||
|
||||
$config = new \stdClass;
|
||||
$config->publishableKey = 'pk_test';
|
||||
@ -56,7 +56,7 @@ class ApplePayDomainMerchantUrlTest extends TestCase
|
||||
$cg->require_billing_address = true;
|
||||
$cg->require_shipping_address = true;
|
||||
$cg->update_details = true;
|
||||
$cg->setConfig(json_encode($config));
|
||||
$cg->setConfig($config);
|
||||
$cg->fees_and_limits = '';
|
||||
$cg->save();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user