for travis

This commit is contained in:
David Bomba 2019-10-04 20:20:02 +10:00
parent a83099dad8
commit 9b09cbe183
2 changed files with 5 additions and 0 deletions

View File

@ -58,6 +58,7 @@ return [
'password' => 'password',
'stripe' => env('STRIPE_KEYS',''),
'paypal' => env('PAYPAL_KEYS', ''),
'travis' => env('TRAVIS', false),
],
'contact' => [

View File

@ -29,6 +29,10 @@ class ClientModelTest extends TestCase
public function testPaymentMethods()
{
if(config('ninja.testvars.travis'))
$this->markTestSkipped('Skip test for Travis');
$amount = 40;
$company_gateways = $this->client->getSetting('company_gateways');