瀏覽代碼

testMake 命名空间BUG

LD 5 年之前
父節點
當前提交
7a0fb20c3f
共有 2 個文件被更改,包括 2 次插入3 次删除
  1. 1 1
      app/Console/Commands/stubs/test.controller.stub
  2. 1 2
      app/Console/Commands/stubs/test.service.stub

+ 1 - 1
app/Console/Commands/stubs/test.controller.stub

@@ -2,7 +2,7 @@
 
 namespace {{ namespace }};
 
-use PHPUnit\Framework\TestCase;
+use Tests\TestCase;
 
 class {{ class }} extends TestCase
 {

+ 1 - 2
app/Console/Commands/stubs/test.service.stub

@@ -2,8 +2,7 @@
 
 namespace {{ namespace }};
 use App\Services\{{ serviceName }};
-
-use PHPUnit\Framework\TestCase;
+use Tests\TestCase;
 
 class {{ class }} extends TestCase
 {