Rename oauth variables (#5435)

Co-authored-by: Anton Bracke <anton.bracke@fastleansmart.com>
This commit is contained in:
Anbraten
2025-08-20 22:47:43 +02:00
committed by GitHub
parent 88b926c9dd
commit 24ebcb8cf8
17 changed files with 197 additions and 196 deletions

View File

@@ -28,10 +28,10 @@ import (
func TestNew(t *testing.T) {
forge, _ := New(Opts{
URL: "http://localhost:8080/",
Client: "0ZXh0IjoiI",
Secret: "I1NiIsInR5",
SkipVerify: true,
URL: "http://localhost:8080/",
OAuthClientID: "0ZXh0IjoiI",
OAuthClientSecret: "I1NiIsInR5",
SkipVerify: true,
})
f, _ := forge.(*client)
assert.Equal(t, "http://localhost:8080", f.url)