diff --git a/deployment/deploy_test.go b/deployment/deploy_test.go index dff62b79..dfc5831d 100644 --- a/deployment/deploy_test.go +++ b/deployment/deploy_test.go @@ -25,6 +25,12 @@ import ( ) func TestDeployStaticFiles(t *testing.T) { - provider := object.GetProvider(util.GetId("admin", "provider_storage_aliyun_oss")) + object.InitConfig() + + provider, err := object.GetProvider(util.GetId("admin", "provider_storage_aliyun_oss")) + if err != nil { + panic(err) + } + deployStaticFiles(provider) }