(t *testing.T)
| 9 | ) |
| 10 | |
| 11 | func 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 | } |
nothing calls this directly
no test coverage detected