public async Task DiscogsSearchArtist() { DiscogsAgent agent = new DiscogsAgent(Secret.DiscogsAuth); Assert.IsNotNull(agent, "Discogs agent is null"); var list = await agent.SearchArtist("Black Sabbath"); Assert.AreEqual(list.Count, 173, "list size dont match"); }
public async Task DiscogsSearchArtist() { var agent = new DiscogsAgent(Secret.DiscogsAuth); Assert.IsNotNull(agent, "Discogs agent is null"); var results = await agent.SearchArtist("white stripes"); Assert.IsNotNull(results, "Result object is null"); Assert.IsTrue(results.Count > 0, "None result was returned"); }