Skip to content

Commit 9677c2b

Browse files
author
jojoliang
committed
fix ci test
1 parent 2a003a6 commit 9677c2b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ci_media_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3394,8 +3394,8 @@ func TestCIService_CosImageInspect(t *testing.T) {
33943394
setup()
33953395
defer teardown()
33963396

3397-
name := "/test.jpg"
3398-
mux.HandleFunc(name, func(w http.ResponseWriter, r *http.Request) {
3397+
name := "test.jpg"
3398+
mux.HandleFunc("/test.jpg", func(w http.ResponseWriter, r *http.Request) {
33993399
testMethod(t, r, http.MethodGet)
34003400
v := values{
34013401
"ci-process": "ImageInspect",

ci_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2644,7 +2644,7 @@ func TestCIService_GetPosterproductionTemplates(t *testing.T) {
26442644
setup()
26452645
defer teardown()
26462646

2647-
mux.HandleFunc("/posterproduction/template/", func(w http.ResponseWriter, r *http.Request) {
2647+
mux.HandleFunc("/posterproduction/template", func(w http.ResponseWriter, r *http.Request) {
26482648
testMethod(t, r, http.MethodGet)
26492649
v := values{
26502650
"pageNumber": "1",

0 commit comments

Comments
 (0)