mirror of
https://github.com/larksuite/cli.git
synced 2026-07-09 18:34:03 +08:00
test: build delete stub URL from shared base path constant
This commit is contained in:
@@ -16,7 +16,7 @@ import (
|
||||
func deleteOKStub(id string) *httpmock.Stub {
|
||||
return &httpmock.Stub{
|
||||
Method: "DELETE",
|
||||
URL: "/open-apis/application/v7/app_slash_commands/" + id,
|
||||
URL: slashCommandBasePath + "/" + id,
|
||||
Body: map[string]interface{}{"code": 0, "msg": "success", "data": map[string]interface{}{}},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user