Merge pull request #14762 from marcusmoore/chore/update-v7-test

Fixed test by removing non-existent trait
This commit is contained in:
snipe 2024-05-25 11:18:54 +01:00 committed by GitHub
commit be4e809254
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 8 deletions

View file

@ -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:

View file

@ -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())