This commit is contained in:
Joe
2026-01-16 15:49:34 +08:00
commit 550d3e1f42
380 changed files with 62024 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
package services
import (
"os"
"testing"
"github.com/goravel/framework/facades"
_ "goravel/tests"
)
func TestMain(m *testing.M) {
if err := facades.Artisan().Call("migrate"); err != nil {
panic(err)
}
exit := m.Run()
os.Exit(exit)
}