diff --git a/auth/auth_test.go b/auth/auth_test.go index ae23b12..50a49c0 100644 --- a/auth/auth_test.go +++ b/auth/auth_test.go @@ -20,7 +20,7 @@ func Test_ErrorValidations(t *testing.T) { FullName: "Test Admin", SessionID: "abc", } - SetAuthInfoHeader(r, info) + _ = SetAuthInfoHeader(r, info) fmt.Printf("Got - Encoded Auth Info: %s\n", r.Header[HttpClientAuthContext][0]) if r.Header[HttpClientAuthContext][0] != "eyJyZWFsbSI6InJvb3QiLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJhZG1pbiIsImVtYWlsIjoiYWRtaW5AZXhhbXBsZS5jb20iLCJuYW1lIjoiVGVzdCBBZG1pbiIsInNpZCI6ImFiYyJ9" { t.Errorf("failed to set the auth info in the header, found invalid value in header")