fixing test and deploy script
This commit is contained in:
@@ -27,13 +27,13 @@ jobs:
|
|||||||
node-version: '20'
|
node-version: '20'
|
||||||
cache: npm
|
cache: npm
|
||||||
|
|
||||||
|
- name: Install Composer dependencies
|
||||||
|
run: composer install --no-interaction --no-progress --prefer-dist
|
||||||
|
|
||||||
- name: Prepare environment
|
- name: Prepare environment
|
||||||
run: |
|
run: |
|
||||||
cp .env.example .env
|
cp .env.example .env
|
||||||
php artisan key:generate
|
php artisan key:generate --force
|
||||||
|
|
||||||
- name: Install Composer dependencies
|
|
||||||
run: composer install --no-interaction --no-progress --prefer-dist
|
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: php artisan test --compact
|
run: php artisan test --compact
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ it('returns a successful response', function () {
|
|||||||
|
|
||||||
$response
|
$response
|
||||||
->assertSuccessful()
|
->assertSuccessful()
|
||||||
->assertSee('Taman Melawati News')
|
->assertSee('Keramat News')
|
||||||
->assertSee('Community Garden Harvest Day Set for Saturday')
|
->assertSee('Community Garden Harvest Day Set for Saturday')
|
||||||
->assertSee('Login')
|
->assertSee('Login')
|
||||||
->assertSee('Register');
|
->assertSee('Register');
|
||||||
|
|||||||
Reference in New Issue
Block a user