mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 11:14:37 -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) {
|
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()
|
public function testMerchantFieldGet()
|
||||||
{
|
{
|
||||||
// if (! config('ninja.testvars.stripe')) {
|
if (! config('ninja.testvars.stripe')) {
|
||||||
$this->markTestSkipped('Skip test no company gateways installed');
|
$this->markTestSkipped('Skip test no company gateways installed');
|
||||||
// }
|
}
|
||||||
|
|
||||||
$config = new \stdClass;
|
$config = new \stdClass;
|
||||||
$config->publishableKey = 'pk_test';
|
$config->publishableKey = 'pk_test';
|
||||||
@ -56,7 +56,7 @@ class ApplePayDomainMerchantUrlTest extends TestCase
|
|||||||
$cg->require_billing_address = true;
|
$cg->require_billing_address = true;
|
||||||
$cg->require_shipping_address = true;
|
$cg->require_shipping_address = true;
|
||||||
$cg->update_details = true;
|
$cg->update_details = true;
|
||||||
$cg->setConfig(json_encode($config));
|
$cg->setConfig($config);
|
||||||
$cg->fees_and_limits = '';
|
$cg->fees_and_limits = '';
|
||||||
$cg->save();
|
$cg->save();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user