Test: moveOrCopyFolder / File

This commit is contained in:
HFO4
2019-12-04 13:49:28 +08:00
parent 362a7c389d
commit 5d50e7ed1e
8 changed files with 460 additions and 6 deletions

16
models/migration_test.go Normal file
View File

@@ -0,0 +1,16 @@
package model
import (
"github.com/gin-gonic/gin"
"github.com/stretchr/testify/assert"
"testing"
)
func TestMigration(t *testing.T) {
asserts := assert.New(t)
gin.SetMode(gin.TestMode)
asserts.NotPanics(func() {
migration()
})
}