From fa601fa4ae88d2195b0e03be036e2042623bcf83 Mon Sep 17 00:00:00 2001 From: Nafies Luthfi Date: Mon, 15 Mar 2021 23:05:57 +0800 Subject: [PATCH] Fix failed test --- tests/Generators/ModelGeneratorTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Generators/ModelGeneratorTest.php b/tests/Generators/ModelGeneratorTest.php index e00e95c..fabcb1f 100644 --- a/tests/Generators/ModelGeneratorTest.php +++ b/tests/Generators/ModelGeneratorTest.php @@ -98,11 +98,11 @@ class Category extends Model $this->artisan('make:crud', ['name' => $this->model_name, '--no-interaction' => true]) ->expectsQuestion('Model file exists, are you sure to generate CRUD files?', true); - $modelPath = app_path('Models/'.$this->model_name.'.php'); + $modelPath = app_path($this->model_name.'.php'); $this->assertFileExists($modelPath); $modelClassContent = "