From 4480416a3f4424eeefdf4117b7cf5120bfeafbcc Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Mon, 15 May 2023 14:10:55 +0200 Subject: Client + OAuth + Server: Initialize the OAuth clientID on add --- internal/oauth/oauth_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/oauth/oauth_test.go') 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) -- cgit v1.2.3