Compare commits
No commits in common. "master" and "v1.1.44" have entirely different histories.
@ -3,7 +3,6 @@ package oss
|
||||
import (
|
||||
"golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests"
|
||||
"golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/responses"
|
||||
"time"
|
||||
)
|
||||
|
||||
type GetApkVersionRequest struct {
|
||||
@ -29,7 +28,6 @@ func CreateGetApkVersionRequest() (req *GetApkVersionRequest) {
|
||||
}
|
||||
req.InitWithApiInfo(HOST, VERSION, "/api/apk/version")
|
||||
req.Method = requests.POST
|
||||
req.SetReadTimeout(30 * time.Second)
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -72,7 +72,7 @@ func TestCreateInitMultipartUpload(t *testing.T) {
|
||||
|
||||
func TestClient_GetApkVersion(t *testing.T) {
|
||||
req := CreateGetApkVersionRequest()
|
||||
req.Filepath = "uploads/files/package/1f57ac9693f0593fc9073f366b1c1936.zip"
|
||||
req.Filepath = "51c68615b8d21f9b72b02f48c400cb87.zip"
|
||||
client, err := NewClient()
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
|
Loading…
Reference in New Issue
Block a user