diff --git a/.github/workflows/tests-sqlite.yml b/.github/workflows/tests-sqlite.yml index 405dc92134..ec2ef8b783 100644 --- a/.github/workflows/tests-sqlite.yml +++ b/.github/workflows/tests-sqlite.yml @@ -46,11 +46,13 @@ jobs: - name: Install Dependencies run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist - - name: Generate key - run: php artisan key:generate - - - name: Directory Permissions - run: chmod -R 777 storage bootstrap/cache + - name: Setup Laravel + env: + DB_CONNECTION: sqlite_testing + run: | + php artisan key:generate + php artisan migrate --force + chmod -R 777 storage bootstrap/cache - name: Execute tests (Unit and Feature tests) via PHPUnit env: diff --git a/tests/Feature/Settings/BrandingSettingsTest.php b/tests/Feature/Settings/BrandingSettingsTest.php index ef98d85593..a27a5d1ef8 100644 --- a/tests/Feature/Settings/BrandingSettingsTest.php +++ b/tests/Feature/Settings/BrandingSettingsTest.php @@ -3,13 +3,10 @@ namespace Tests\Feature\Settings; use App\Models\User; -use Tests\Support\InteractsWithSettings; use Tests\TestCase; class BrandingSettingsTest extends TestCase { - use InteractsWithSettings; - public function testSiteNameIsRequired() { $this->actingAs(User::factory()->superuser()->create())