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:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user