summaryrefslogtreecommitdiff
path: root/client/client_test.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-11-28 14:09:28 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-11-28 14:12:48 +0100
commit59e6ccd051452162fab852a25deb4f0f8a9e22b2 (patch)
treef4d8168b5b696f0eae26dbfc0e6cae514cbe65e7 /client/client_test.go
parent279c0de75629de5868c3ac1b3272a2850e6b62f7 (diff)
Refactor: Fix revive linter errors by deleting redundant prefixes
Diffstat (limited to 'client/client_test.go')
-rw-r--r--client/client_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/client_test.go b/client/client_test.go
index 9145ef3..fe2dec5 100644
--- a/client/client_test.go
+++ b/client/client_test.go
@@ -126,7 +126,7 @@ func testConnectOAuthParameter(
t.Fatalf("No port with error: %v", portErr)
}
baseURL := fmt.Sprintf("http://127.0.0.1:%d/callback", port)
- url, err := httpw.HTTPConstructURL(baseURL, parameters)
+ url, err := httpw.ConstructURL(baseURL, parameters)
if err != nil {
_ = state.CancelOAuth()
t.Fatalf(
@@ -170,9 +170,9 @@ func testConnectOAuthParameter(
func TestConnectOAuthParameters(t *testing.T) {
var (
- failedCallbackParameterError *oauth.OAuthCallbackParameterError
- failedCallbackStateMatchError *oauth.OAuthCallbackStateMatchError
- failedCallbackISSMatchError *oauth.OAuthCallbackISSMatchError
+ failedCallbackParameterError *oauth.CallbackParameterError
+ failedCallbackStateMatchError *oauth.CallbackStateMatchError
+ failedCallbackISSMatchError *oauth.CallbackISSMatchError
)