summaryrefslogtreecommitdiff
path: root/internal/oauth/oauth_test.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2023-05-15 14:10:55 +0200
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2023-09-25 09:43:37 +0200
commit4480416a3f4424eeefdf4117b7cf5120bfeafbcc (patch)
tree5fd7283c492f2ceb709432d1c571ae29b1d8b161 /internal/oauth/oauth_test.go
parent680c91aff531fca6fa2394094252520adac5f9e3 (diff)
Client + OAuth + Server: Initialize the OAuth clientID on add
Diffstat (limited to 'internal/oauth/oauth_test.go')
-rw-r--r--internal/oauth/oauth_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/oauth/oauth_test.go b/internal/oauth/oauth_test.go
index 1f2a29e..4818f42 100644
--- a/internal/oauth/oauth_test.go
+++ b/internal/oauth/oauth_test.go
@@ -175,8 +175,8 @@ func Test_AuthURL(t *testing.T) {
}
// Check if the OAuth session has valid values
- if o.session.ClientID != id {
- t.Fatalf("OAuth ClientID not equal, want: %v, got: %v", o.session.ClientID, id)
+ if o.ClientID != id {
+ t.Fatalf("OAuth ClientID not equal, want: %v, got: %v", o.ClientID, id)
}
if o.session.ISS != iss {
t.Fatalf("OAuth ISS not equal, want: %v, got: %v", o.session.ISS, iss)