Parcourir la source

Fix: correct spelling of negotiation

Jonathan Giannuzzi il y a 7 ans
Parent
commit
a0a3d30889
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      spnego/http_test.go

+ 1 - 1
spnego/http_test.go

@@ -129,7 +129,7 @@ func TestService_SPNEGOKRB_NoAuthHeader(t *testing.T) {
 		t.Fatalf("Request error: %v\n", err)
 	}
 	assert.Equal(t, http.StatusUnauthorized, httpResp.StatusCode, "Status code in response to client with no SPNEGO not as expected")
-	assert.Equal(t, "Negotiate", httpResp.Header.Get("WWW-Authenticate"), "Negitation header not set by server.")
+	assert.Equal(t, "Negotiate", httpResp.Header.Get("WWW-Authenticate"), "Negotiation header not set by server.")
 }
 
 func TestService_SPNEGOKRB_ValidUser(t *testing.T) {