From d4ab212dbc923c2ae4572e18060a0bce883731a2 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 26 Oct 2023 22:38:27 +1100 Subject: [PATCH] Fixes for tests --- .env.ci | 2 +- tests/Feature/Export/ReportCsvGenerationTest.php | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.env.ci b/.env.ci index 504f9a44779a..c7434b25afac 100644 --- a/.env.ci +++ b/.env.ci @@ -2,7 +2,7 @@ APP_NAME="Invoice Ninja" APP_ENV=local APP_KEY= APP_DEBUG=true -APP_URL=http://localhost +APP_URL=http://ninja.test MULTI_DB_ENABLED=false # database DB_CONNECTION=mysql diff --git a/tests/Feature/Export/ReportCsvGenerationTest.php b/tests/Feature/Export/ReportCsvGenerationTest.php index bf0189550501..2df5bf10648b 100644 --- a/tests/Feature/Export/ReportCsvGenerationTest.php +++ b/tests/Feature/Export/ReportCsvGenerationTest.php @@ -55,6 +55,9 @@ class ReportCsvGenerationTest extends TestCase $this->buildData(); + if (config('ninja.testvars.travis') !== false) + $this->markTestSkipped('Skip test no company gateways installed'); + } @@ -286,6 +289,7 @@ class ReportCsvGenerationTest extends TestCase return $response; } + public function testVendorCsvGeneration() {