Просмотр исходного кода

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

LD 5 лет назад
Родитель
Сommit
910c68a07b
1 измененных файлов с 21 добавлено и 0 удалено
  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);
+    }
+
+}