| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | abstract class TestCase extends Orchestra |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * Setup the test environment. |
||
| 15 | * |
||
| 16 | * @return void |
||
| 17 | */ |
||
| 18 | public function setUp(): void |
||
| 19 | { |
||
| 20 | parent::setUp(); |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Get JsonResponse package providers. |
||
| 25 | * |
||
| 26 | * @return array |
||
| 27 | */ |
||
| 28 | protected function getPackageProviders($app) |
||
| 29 | { |
||
| 30 | return [ |
||
| 31 | JsonResponseServiceProvider::class, |
||
| 32 | ]; |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param $app |
||
| 37 | * @return array |
||
| 38 | */ |
||
| 39 | protected function getPackageAliases($app) |
||
| 40 | { |
||
| 41 | return [ |
||
| 42 | 'JsonResponse' => 'ArinaSystems\JsonResponse\Facades\JsonResponse', |
||
| 43 | ]; |
||
| 46 |