Skip to content

Commit

Permalink
fix: format test
Browse files Browse the repository at this point in the history
  • Loading branch information
jiannei committed Dec 29, 2022
1 parent eb17eb5 commit eeafc6a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}

0 comments on commit eeafc6a

Please sign in to comment.