Ver Fonte

测试用例,测试Service文件夹设置

LD há 5 anos atrás
pai
commit
910c68a07b
1 ficheiros alterados com 21 adições e 0 exclusões
  1. 21 0
      tests/Services/ExampleTest.php

+ 21 - 0
tests/Services/ExampleTest.php

@@ -0,0 +1,21 @@
+<?php
+
+namespace Tests\Unit;
+
+use App\Authority;
+use App\Carrier;
+use App\Role;
+use App\User;
+use Illuminate\Support\Facades\DB;
+use Tests\TestCase;
+use Illuminate\Foundation\Testing\WithFaker;
+use Illuminate\Foundation\Testing\RefreshDatabase;
+
+class ExampleTest extends TestCase
+{
+
+    public function testExample(){
+        $this->assertEquals(2,1+1);
+    }
+
+}