MCPcopy Create free account
hub / github.com/dinofizz/diskplayer / TestNewClient

Function TestNewClient

client_test.go:11–22  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

9)
10
11func TestNewClient(t *testing.T) {
12 tok := oauth2.Token{
13 AccessToken: "temp_access_token",
14 TokenType: "Bearer",
15 RefreshToken: "temp_refresh_token",
16 Expiry: time.Time{},
17 }
18
19 a := spotify.Authenticator{}
20 c := NewClient(&a, &tok)
21 assert.NotNil(t, c)
22}

Callers

nothing calls this directly

Calls 1

NewClientFunction · 0.85

Tested by

no test coverage detected