1
0
mirror of https://github.com/interviewstreet/go-jira.git synced 2025-11-25 22:12:08 +02:00

Added transport for cookie authentication and updated docs

This commit is contained in:
Bob Briski
2018-02-24 16:29:17 -08:00
parent 7b414f4c18
commit f9152870f4
3 changed files with 148 additions and 33 deletions

View File

@@ -475,7 +475,8 @@ func TestBasicAuthTransport(t *testing.T) {
Username: username,
Password: password,
}
basicAuthClient, _ := NewClient(tp.Client(), "/")
basicAuthClient, _ := NewClient(tp.Client(), testServer.URL)
req, _ := basicAuthClient.NewRequest("GET", ".", nil)
basicAuthClient.Do(req, nil)
}