Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fetch of authorization token
[nonrtric.git]
/
auth-token-fetch
/
HTTPClient_test.go
diff --git
a/auth-token-fetch/HTTPClient_test.go
b/auth-token-fetch/HTTPClient_test.go
index
e0a4cd1
..
7b8deb0
100644
(file)
--- a/
auth-token-fetch/HTTPClient_test.go
+++ b/
auth-token-fetch/HTTPClient_test.go
@@
-43,7
+43,7
@@
func TestRequestError_Error(t *testing.T) {
func Test_CreateClient(t *testing.T) {
assertions := require.New(t)
func Test_CreateClient(t *testing.T) {
assertions := require.New(t)
- client := CreateHttpClient(tls.Certificate{}, 5*time.Second)
+ client := CreateHttpClient(tls.Certificate{},
nil,
5*time.Second)
transport := client.Transport
assertions.Equal("*http.Transport", reflect.TypeOf(transport).String())
transport := client.Transport
assertions.Equal("*http.Transport", reflect.TypeOf(transport).String())