17 lines
371 B
Go
17 lines
371 B
Go
package discogs
|
|
|
|
import (
|
|
"fmt"
|
|
"testing"
|
|
)
|
|
|
|
func TestReleaseService_Release(t *testing.T) {
|
|
expectedTitle := "Elephant Riddim"
|
|
|
|
d := NewClient(testUserAgent, testToken)
|
|
release, err := d.Release.Release(8138518)
|
|
|
|
check(t, err)
|
|
assert(t, release.Title == expectedTitle, fmt.Sprintf("Release.Title looked for %s, and received %s ", expectedTitle, release.Title))
|
|
}
|