We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e597f1 commit 7f54aabCopy full SHA for 7f54aab
tests/integration/mirror_push_test.go
@@ -82,7 +82,7 @@ func testMirrorPush(t *testing.T, u *url.URL) {
82
}
83
84
func testCreatePushMirror(t *testing.T, session *TestSession, owner, repo, address, username, password, interval string) {
85
- csrf := GetCSRF(t, session, fmt.Sprintf("/%s/%s/settings", url.PathEscape(username), url.PathEscape(repo)))
+ csrf := GetCSRF(t, session, fmt.Sprintf("/%s/%s/settings", url.PathEscape(owner), url.PathEscape(repo)))
86
req := NewRequestWithValues(t, "POST", fmt.Sprintf("/%s/%s/settings", url.PathEscape(owner), url.PathEscape(repo)), map[string]string{
87
"_csrf": csrf,
88
"action": "push-mirror-add",
0 commit comments