-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changing naming in auth options for bearer token to snake case
Signed-off-by: Christian Ihle <[email protected]>
- Loading branch information
Showing
2 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -184,12 +184,12 @@ func TestAuthOptionsFromData(t *testing.T) { | |
name: "Sets values from Secret", | ||
URL: "https://[email protected]", | ||
data: map[string][]byte{ | ||
"username": []byte("example"), // This takes precedence over the one from the URL | ||
"password": []byte("secret"), | ||
"bearerToken": []byte("token"), | ||
"identity": []byte(privateKeyFixture), | ||
"known_hosts": []byte(knownHostsFixture), | ||
"caFile": []byte("mock"), | ||
"username": []byte("example"), // This takes precedence over the one from the URL | ||
"password": []byte("secret"), | ||
"bearer_token": []byte("token"), | ||
"identity": []byte(privateKeyFixture), | ||
"known_hosts": []byte(knownHostsFixture), | ||
"caFile": []byte("mock"), | ||
}, | ||
|
||
wantFunc: func(g *WithT, opts *AuthOptions) { | ||
|