Skip to content

Commit

Permalink
fix(lastfm): update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jackmerrill committed May 6, 2022
1 parent ce69e1d commit fbb64f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions providers/lastfm/lastfm_test.go
Expand Up @@ -35,9 +35,9 @@ func Test_BeginAuth(t *testing.T) {
session, err := provider.BeginAuth("")
s := session.(*Session)
a.NoError(err)
a.Contains(s.AuthURL, "www.lastfm.com.br/api/auth")
a.Contains(s.AuthURL, "www.lastfm.com/api/auth")
a.Contains(s.AuthURL, fmt.Sprintf("api_key=%s", os.Getenv("LASTFM_KEY")))
a.Contains(s.AuthURL, fmt.Sprintf("callback=%s", url.QueryEscape("/foo")))
a.Contains(s.AuthURL, fmt.Sprintf("cb=%s", url.QueryEscape("/foo")))
}

func Test_SessionFromJSON(t *testing.T) {
Expand Down

0 comments on commit fbb64f2

Please sign in to comment.