ikechukwukalu /
dynamicmailconfig
| 1 | <?php |
||||
| 2 | |||||
| 3 | namespace Ikechukwukalu\Dynamicmailconfig\Tests; |
||||
| 4 | |||||
| 5 | use Ikechukwukalu\Dynamicmailconfig\DynamicMailConfigServiceProvider; |
||||
| 6 | use Illuminate\Foundation\Testing\RefreshDatabase; |
||||
| 7 | use Orchestra\Testbench\TestCase as BaseTestCase; |
||||
| 8 | |||||
| 9 | abstract class TestCase extends BaseTestCase |
||||
| 10 | { |
||||
| 11 | use RefreshDatabase; |
||||
|
0 ignored issues
–
show
introduced
by
Loading history...
|
|||||
| 12 | |||||
| 13 | public function setUp(): void |
||||
| 14 | { |
||||
| 15 | parent::setUp(); |
||||
| 16 | } |
||||
| 17 | |||||
| 18 | protected function defineDatabaseMigrations() |
||||
| 19 | { |
||||
| 20 | $this->loadLaravelMigrations(); |
||||
| 21 | $this->loadMigrationsFrom(__DIR__.'/../src/migrations'); |
||||
| 22 | } |
||||
| 23 | |||||
| 24 | protected function getPackageProviders($app): array |
||||
|
0 ignored issues
–
show
The parameter
$app is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. Loading history...
|
|||||
| 25 | { |
||||
| 26 | return [DynamicMailConfigServiceProvider::class]; |
||||
| 27 | } |
||||
| 28 | |||||
| 29 | protected function getEnvironmentSetUp($app) { |
||||
| 30 | $app['config']->set('auth.guards.sanctum', [ |
||||
| 31 | 'driver' => 'session', |
||||
| 32 | 'provider' => 'users', |
||||
| 33 | ]); |
||||
| 34 | } |
||||
| 35 | } |
||||
| 36 |