From 7fbb1489e57abfe7ccd9a4cf90ce4ef0430187a3 Mon Sep 17 00:00:00 2001 From: krzysztofrewak Date: Wed, 27 Mar 2024 14:22:36 +0100 Subject: [PATCH] #198 - testing (wip) --- .env.ci | 2 +- .github/workflows/check.php.yml | 3 +++ tests/Feature/LocalisedRoutingTest.php | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.env.ci b/.env.ci index bdeef8df..398e7ce3 100644 --- a/.env.ci +++ b/.env.ci @@ -2,7 +2,7 @@ APP_NAME=website APP_ENV=testing APP_KEY=base64:lt7KU4zYKH/nKJk23/1H6Z91bVs5KoOUkD68kkDSLwM= APP_DEBUG=false -APP_URL=http://website.blumilk.localhost +APP_URL=http://127.0.0.1 LOG_CHANNEL=stack LOG_LEVEL=debug diff --git a/.github/workflows/check.php.yml b/.github/workflows/check.php.yml index a4884aa1..80f847ea 100644 --- a/.github/workflows/check.php.yml +++ b/.github/workflows/check.php.yml @@ -56,5 +56,8 @@ jobs: - name: Install Composer dependencies run: composer install --prefer-dist --no-interaction --no-suggest + - name: Run PHP linter + run: composer cs + - name: Execute tests run: php artisan test --env=ci diff --git a/tests/Feature/LocalisedRoutingTest.php b/tests/Feature/LocalisedRoutingTest.php index c105bd46..1ceb6c41 100644 --- a/tests/Feature/LocalisedRoutingTest.php +++ b/tests/Feature/LocalisedRoutingTest.php @@ -17,7 +17,6 @@ public function testExistingRoute(): void public function testExistingLocalisedRoute(): void { $response = $this->get("/pl/kontakt"); - dd($response->getContent()); $response->assertStatus(200); }