makeTestData(); if (config('ninja.testvars.travis') !== false) { $this->markTestSkipped('Skip test for Travis'); } if (! config('ninja.testvars.stripe')) { $this->markTestSkipped('Skip test no company gateways installed'); } } public function testPaymentMethodsWithCreditsEnforced() { $amount = 40; $payment_methods = $this->client->service()->getPaymentMethods(40); $this->assertGreaterThan(0, CompanyGateway::count()); $this->assertEquals(1, count($payment_methods)); } }