mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-06-02 13:39:55 +00:00
fix spellcheck
This commit is contained in:
parent
97dcc4c140
commit
b4b4036ec4
|
@ -395,12 +395,12 @@ func TestClientRepoMove(t *testing.T) {
|
||||||
name: "success",
|
name: "success",
|
||||||
handler: func(w http.ResponseWriter, r *http.Request) {
|
handler: func(w http.ResponseWriter, r *http.Request) {
|
||||||
assert.Equal(t, http.MethodPost, r.Method)
|
assert.Equal(t, http.MethodPost, r.Method)
|
||||||
assert.Equal(t, "/api/repos/123/move?to=newowner", r.URL.RequestURI())
|
assert.Equal(t, "/api/repos/123/move?to=new_owner", r.URL.RequestURI())
|
||||||
w.WriteHeader(http.StatusOK)
|
w.WriteHeader(http.StatusOK)
|
||||||
},
|
},
|
||||||
repoID: 123,
|
repoID: 123,
|
||||||
opts: RepoMoveOptions{
|
opts: RepoMoveOptions{
|
||||||
To: "newowner",
|
To: "new_owner",
|
||||||
},
|
},
|
||||||
wantErr: false,
|
wantErr: false,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue