mirror of
https://github.com/interviewstreet/go-jira.git
synced 2025-08-06 22:13:02 +02:00
Renamed unit tests according golang standard
This commit is contained in:
@ -8,7 +8,7 @@ import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestAcquireSessionCookie_Fail(t *testing.T) {
|
||||
func TestAuthenticationService_AcquireSessionCookie_Failure(t *testing.T) {
|
||||
setup()
|
||||
defer teardown()
|
||||
testMux.HandleFunc("/rest/auth/1/session", func(w http.ResponseWriter, r *http.Request) {
|
||||
@ -42,7 +42,7 @@ func TestAcquireSessionCookie_Fail(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestAcquireSessionCookie_Success(t *testing.T) {
|
||||
func TestAuthenticationService_AcquireSessionCookie_Success(t *testing.T) {
|
||||
setup()
|
||||
defer teardown()
|
||||
testMux.HandleFunc("/rest/auth/1/session", func(w http.ResponseWriter, r *http.Request) {
|
||||
@ -75,7 +75,7 @@ func TestAcquireSessionCookie_Success(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestAuthenticated_NotInit(t *testing.T) {
|
||||
func TestAuthenticationService_Authenticated(t *testing.T) {
|
||||
// Skip setup() because we don't want a fully setup client
|
||||
testClient = new(Client)
|
||||
|
||||
|
Reference in New Issue
Block a user