Merge pull request #14762 from marcusmoore/chore/update-v7-test
Fixed test by removing non-existent trait
This commit is contained in:
commit
be4e809254
2 changed files with 7 additions and 8 deletions
12
.github/workflows/tests-sqlite.yml
vendored
12
.github/workflows/tests-sqlite.yml
vendored
|
@ -46,11 +46,13 @@ jobs:
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
|
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
|
||||||
|
|
||||||
- name: Generate key
|
- name: Setup Laravel
|
||||||
run: php artisan key:generate
|
env:
|
||||||
|
DB_CONNECTION: sqlite_testing
|
||||||
- name: Directory Permissions
|
run: |
|
||||||
run: chmod -R 777 storage bootstrap/cache
|
php artisan key:generate
|
||||||
|
php artisan migrate --force
|
||||||
|
chmod -R 777 storage bootstrap/cache
|
||||||
|
|
||||||
- name: Execute tests (Unit and Feature tests) via PHPUnit
|
- name: Execute tests (Unit and Feature tests) via PHPUnit
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -3,13 +3,10 @@
|
||||||
namespace Tests\Feature\Settings;
|
namespace Tests\Feature\Settings;
|
||||||
|
|
||||||
use App\Models\User;
|
use App\Models\User;
|
||||||
use Tests\Support\InteractsWithSettings;
|
|
||||||
use Tests\TestCase;
|
use Tests\TestCase;
|
||||||
|
|
||||||
class BrandingSettingsTest extends TestCase
|
class BrandingSettingsTest extends TestCase
|
||||||
{
|
{
|
||||||
use InteractsWithSettings;
|
|
||||||
|
|
||||||
public function testSiteNameIsRequired()
|
public function testSiteNameIsRequired()
|
||||||
{
|
{
|
||||||
$this->actingAs(User::factory()->superuser()->create())
|
$this->actingAs(User::factory()->superuser()->create())
|
||||||
|
|
Loading…
Add table
Reference in a new issue