tarfin-labs /
parasut-laravel
| 1 | <?php |
||
| 2 | |||
| 3 | namespace TarfinLabs\Parasut\Tests; |
||
| 4 | |||
| 5 | use Faker\Factory; |
||
| 6 | use Faker\Generator; |
||
| 7 | use Orchestra\Testbench\TestCase as Orchestra; |
||
| 8 | use TarfinLabs\Parasut\ParasutServiceProvider; |
||
| 9 | |||
| 10 | abstract class TestCase extends Orchestra |
||
| 11 | { |
||
| 12 | protected Generator $faker; |
||
| 13 | |||
| 14 | public function setUp(): void |
||
| 15 | { |
||
| 16 | parent::setUp(); |
||
| 17 | |||
| 18 | config()->set('app.faker_locale', 'tr_TR'); |
||
| 19 | |||
| 20 | $this->faker = Factory::create(); |
||
| 21 | } |
||
| 22 | |||
| 23 | protected function getPackageProviders($app): array |
||
|
0 ignored issues
–
show
|
|||
| 24 | { |
||
| 25 | return [ |
||
| 26 | ParasutServiceProvider::class, |
||
| 27 | ]; |
||
| 28 | } |
||
| 29 | |||
| 30 | protected function getEnvironmentSetUp($app): void |
||
| 31 | { |
||
| 32 | parent::getEnvironmentSetUp($app); |
||
| 33 | } |
||
| 34 | } |
||
| 35 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.