From 9541117125ccdbe2712a7d1a355601f73691a893 Mon Sep 17 00:00:00 2001 From: Henry Whitaker Date: Sun, 7 Mar 2021 09:10:49 +0000 Subject: [PATCH] Update phpunit xml --- .github/workflows/laravel-dev.yml | 3 ++ .github/workflows/laravel-stable.yml | 3 ++ phpunit.xml | 51 +++++++++++++--------------- tests/Feature/BackupTest.php | 22 ------------ tests/Feature/SettingsTest.php | 22 ------------ 5 files changed, 30 insertions(+), 71 deletions(-) delete mode 100644 tests/Feature/BackupTest.php delete mode 100644 tests/Feature/SettingsTest.php diff --git a/.github/workflows/laravel-dev.yml b/.github/workflows/laravel-dev.yml index a13b223c..6b4221f1 100644 --- a/.github/workflows/laravel-dev.yml +++ b/.github/workflows/laravel-dev.yml @@ -10,6 +10,9 @@ jobs: runs-on: ubuntu-latest steps: + - uses: shivammathur/setup-php@b7d1d9c9a92d8d8463ce36d7f60da34d461724f8 + with: + php-version: '7.4' - uses: actions/checkout@v2 - name: Copy .env run: php -r "file_exists('.env') || copy('.env.example', '.env');" diff --git a/.github/workflows/laravel-stable.yml b/.github/workflows/laravel-stable.yml index 8efdcc05..af65cd67 100644 --- a/.github/workflows/laravel-stable.yml +++ b/.github/workflows/laravel-stable.yml @@ -10,6 +10,9 @@ jobs: runs-on: ubuntu-latest steps: + - uses: shivammathur/setup-php@b7d1d9c9a92d8d8463ce36d7f60da34d461724f8 + with: + php-version: '7.4' - uses: actions/checkout@v2 - name: Copy .env run: php -r "file_exists('.env') || copy('.env.example', '.env');" diff --git a/phpunit.xml b/phpunit.xml index 5cf0875e..c883c35b 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,29 +1,26 @@ - - - - ./tests/Unit - - - ./tests/Feature - - - - - ./app - - - - - - - - - - - - + + + + ./app + + + + + ./tests/Unit + + + ./tests/Feature + + + + + + + + + + + + diff --git a/tests/Feature/BackupTest.php b/tests/Feature/BackupTest.php deleted file mode 100644 index fa1ae6c6..00000000 --- a/tests/Feature/BackupTest.php +++ /dev/null @@ -1,22 +0,0 @@ -get('/'); - - $response->assertStatus(200); - } -} diff --git a/tests/Feature/SettingsTest.php b/tests/Feature/SettingsTest.php deleted file mode 100644 index 5ef17dac..00000000 --- a/tests/Feature/SettingsTest.php +++ /dev/null @@ -1,22 +0,0 @@ -get('/'); - - $response->assertStatus(200); - } -}