fixing test and deploy script
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user