diff --git a/app/Http/Requests/Payment/StorePaymentRequest.php b/app/Http/Requests/Payment/StorePaymentRequest.php index ee25c509e629..ea28645765f6 100644 --- a/app/Http/Requests/Payment/StorePaymentRequest.php +++ b/app/Http/Requests/Payment/StorePaymentRequest.php @@ -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); diff --git a/tests/Pdf/PdfGenerationTest.php b/tests/Pdf/PdfGenerationTest.php index 22fcacf01673..ea2095e225d9 100644 --- a/tests/Pdf/PdfGenerationTest.php +++ b/tests/Pdf/PdfGenerationTest.php @@ -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()