diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index f51def5..ce2507c 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -27,13 +27,13 @@ jobs: node-version: '20' cache: npm + - name: Install Composer dependencies + run: composer install --no-interaction --no-progress --prefer-dist + - name: Prepare environment run: | cp .env.example .env - php artisan key:generate - - - name: Install Composer dependencies - run: composer install --no-interaction --no-progress --prefer-dist + php artisan key:generate --force - name: Run tests run: php artisan test --compact diff --git a/tests/Feature/ExampleTest.php b/tests/Feature/ExampleTest.php index c86615d..449a658 100644 --- a/tests/Feature/ExampleTest.php +++ b/tests/Feature/ExampleTest.php @@ -5,7 +5,7 @@ it('returns a successful response', function () { $response ->assertSuccessful() - ->assertSee('Taman Melawati News') + ->assertSee('Keramat News') ->assertSee('Community Garden Harvest Day Set for Saturday') ->assertSee('Login') ->assertSee('Register');