mirror of
https://github.com/go-admin-team/go-admin.git
synced 2026-09-22 02:27:57 +00:00
16 lines
229 B
Go
16 lines
229 B
Go
package file_store
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestOBSUpload(t *testing.T) {
|
|
e := OXS{"", "", "", ""}
|
|
var oxs = e.Setup(HuaweiOBS)
|
|
err := oxs.UpLoad("test.png", "./test.png")
|
|
if err != nil {
|
|
t.Error(err)
|
|
}
|
|
t.Log("ok")
|
|
}
|