From 873a6dcd1ace931e8d2d9295d19e7a1301c530de Mon Sep 17 00:00:00 2001 From: Tony Lea Date: Thu, 9 May 2024 21:48:57 -0400 Subject: [PATCH] Adding updated tests --- .github/workflows/tests.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3f39cc1..3f2275b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -46,6 +46,12 @@ jobs: run: php artisan vendor:publish --tag=auth:config working-directory: ./laravel_app + - name: Remove current tests and symlink to DevDojo Auth + run: | + rm -rf tests + ln -s vendor/devdojo/auth/tests tests + working-directory: ./laravel_app + - name: Create sqlite file run: touch database/database.sqlite working-directory: ./laravel_app @@ -75,10 +81,6 @@ jobs: run: php artisan migrate --path=vendor/devdojo/auth/database/migrations working-directory: ./laravel_app - - name: Re-run migrations - run: php artisan migrate - working-directory: ./laravel_app - # Testing on a mac, this command should be: # sed -i '' '/"phpunit\/phpunit"/d' composer.json - name: Remove PHPUnit from composer.json