فهرست منبع

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
 {