From 2e11c101db4002587867c938cc03b5cedb571719 Mon Sep 17 00:00:00 2001 From: Alexis Saettler Date: Sat, 24 Dec 2022 13:23:50 +0100 Subject: [PATCH] fix: fix generating api doc (monicahq/chandler#360) --- app/Providers/AppServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 50aef0ed08a..700bf4c9d64 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -22,7 +22,7 @@ class AppServiceProvider extends ServiceProvider */ public function register() { - if (App::environment('testing') && class_exists(TestResponse::class)) { + if (App::environment('testing') && class_exists(TestResponseMacros::class)) { TestResponse::mixin(new TestResponseMacros); } }