18 lines
553 B
PHP
18 lines
553 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
declare(strict_types=1);
|
||
|
|
use Tests\TestCase;
|
||
|
|
|
||
|
|
/*
|
||
|
|
|--------------------------------------------------------------------------
|
||
|
|
| Test Case
|
||
|
|
|--------------------------------------------------------------------------
|
||
|
|
|
|
||
|
|
| The closure you provide to your test functions is always bound to a specific PHPUnit test
|
||
|
|
| case class. By default, that class is "PHPUnit\Framework\TestCase". Of course, you may
|
||
|
|
| need to change it using the "pest()" function to bind a different classes or traits.
|
||
|
|
|
|
||
|
|
*/
|
||
|
|
|
||
|
|
pest()->extend(TestCase::class)->in('Feature', 'Unit');
|