From 48422231707e057030564f7e0abe2fd753f13900 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 1 Nov 2023 14:09:47 +1100 Subject: [PATCH] Fixes for tests --- phpunit.xml | 4 +++- storage/app/public/.gitignore | 0 tests/Feature/Export/ReportCsvGenerationTest.php | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) mode change 100644 => 100755 storage/app/public/.gitignore diff --git a/phpunit.xml b/phpunit.xml index 70062c3f9d..113938ad5e 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,5 +1,7 @@ - + ./tests/Unit diff --git a/storage/app/public/.gitignore b/storage/app/public/.gitignore old mode 100644 new mode 100755 diff --git a/tests/Feature/Export/ReportCsvGenerationTest.php b/tests/Feature/Export/ReportCsvGenerationTest.php index ae863ed95f..eb868ea852 100644 --- a/tests/Feature/Export/ReportCsvGenerationTest.php +++ b/tests/Feature/Export/ReportCsvGenerationTest.php @@ -284,7 +284,7 @@ class ReportCsvGenerationTest extends TestCase private function poll($hash) { - $response = Http::retry(50, 1000, throw: false) + $response = Http::retry(100, 400, throw: false) ->withHeaders([ 'X-API-SECRET' => config('ninja.api_secret'), 'X-API-TOKEN' => $this->token,