diff --git a/tests/TestCase.php b/tests/TestCase.php index d61fb8d..7d941a8 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -43,6 +43,8 @@ protected function defineEnvironment($app) ]); $app['config']->set('response.enum', \Jiannei\Response\Laravel\Tests\Repositories\Enums\ResponseCodeEnum::class); - $app['config']->set('response.format', \Jiannei\Response\Laravel\Tests\Support\Format::class); + if ($this instanceof FormatTest) { + $app['config']->set('response.format', \Jiannei\Response\Laravel\Tests\Support\Format::class); + } } }