1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 08:21:34 +02:00

Fixes for tests

This commit is contained in:
David Bomba 2022-07-28 11:24:50 +10:00
parent d93bac1b09
commit 717a34aa99
2 changed files with 4 additions and 4 deletions

View File

@ -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);
}

View File

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