Handle github actions quirks

This commit is contained in:
David Bomba 2024-06-18 15:04:16 +10:00
parent aee6fe6dc9
commit 932a0d3f57
2 changed files with 5 additions and 1 deletions

View File

@ -79,7 +79,6 @@ class StorePaymentRequest extends Request
/** @var \App\Models\User $user */
$user = auth()->user();
if(\Illuminate\Support\Facades\Cache::has($this->ip()."|".$this->input('amount', 0)."|".$this->input('client_id', '')."|".$user->company()->company_key))
throw new DuplicatePaymentException('Duplicate request.', 429);

View File

@ -24,6 +24,11 @@ class PdfGenerationTest extends TestCase
protected function setUp(): void
{
parent::setUp();
if (config('ninja.testvars.travis') !== false) {
$this->markTestSkipped('Skip test for Travis');
}
}
public function testPdfGeneration()