mirror of
https://github.com/cloudreve/Cloudreve.git
synced 2026-11-17 22:58:07 +00:00
Test: moveOrCopyFolder / File
This commit is contained in:
1 parent
362a7c389d
commit
5d50e7ed1e
8 files changed
+460
-6
No files matched your search
@@ -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()
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user