diff --git a/Tests/MemberControllerTest.php b/Tests/MemberControllerTest.php index b59214c..88ae7db 100644 --- a/Tests/MemberControllerTest.php +++ b/Tests/MemberControllerTest.php @@ -2,7 +2,7 @@ namespace Modules\Core\Tests; -class MemberControllerTest extends \Modules\Core\Tests\TestCase +class MemberControllerTest extends TestCase { public function testCreate(): void { diff --git a/Tests/TestCase.php b/Tests/TestCase.php index b9c7177..3d7856c 100644 --- a/Tests/TestCase.php +++ b/Tests/TestCase.php @@ -51,8 +51,6 @@ protected function defineEnvironment($app): void 'database' => ':memory:', 'prefix' => '', ]); - - config()->set('app.debug', true); } protected function defineRoutes($router): void diff --git a/composer.json b/composer.json index e99853d..8b1d5cb 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,6 @@ ], "require": { "php": "^8.1", - "guanguans/laravel-exception-notify": "^2.16", "jiannei/laravel-response": "^5.2", "laravel/framework": "^10.10" }, diff --git a/phpunit.xml b/phpunit.xml index 518d020..98c09db 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -8,4 +8,7 @@ ./Tests/ + + + \ No newline at end of file