Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
guanguans committed Jun 16, 2023
1 parent ce0889e commit df227ac
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,18 @@
use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\Str;
use phpmock\phpunit\PHPMock;
use Spatie\Snapshots\MatchesSnapshots;
use Symfony\Component\VarDumper\Test\VarDumperTestTrait;
use Tests\Models\User;
use Tests\Seeder\UserSeeder;

abstract class TestCase extends \Orchestra\Testbench\TestCase
{
use MatchesSnapshots;
use PHPMock;
use VarDumperTestTrait;

protected function setUp(): void
{
parent::setUp();
Expand All @@ -54,7 +61,7 @@ protected function getPackageProviders($app)
/**
* {@inheritDoc}
*/
protected function getEnvironmentSetUp($app): void
protected function defineEnvironment($app): void
{
config()->set('soar', require __DIR__.'/../config/soar.php');
config()->set('soar.enabled', true);
Expand Down

0 comments on commit df227ac

Please sign in to comment.