Fix the test I broke in GetAlbumTopTagsCommandTest

This commit is contained in:
Rikki Tooley 2014-12-08 11:34:33 +00:00
parent dca94d8ebc
commit 4a7a3c11b6

View File

@ -2,16 +2,12 @@
using IF.Lastfm.Core.Api.Enums; using IF.Lastfm.Core.Api.Enums;
using IF.Lastfm.Core.Tests.Resources; using IF.Lastfm.Core.Tests.Resources;
using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace IF.Lastfm.Core.Tests.Api.Commands.AlbumApi namespace IF.Lastfm.Core.Tests.Api.Commands.AlbumApi
{ {
[TestClass] [TestClass]
public class GetAlbumTopTagsCommandTest : CommandTestsBase public class GetAlbumTopTagsCommandTest : CommandTestsBase
{ {
@ -31,10 +27,9 @@ public GetAlbumTopTagsCommandTest()
[TestMethod] [TestMethod]
public void Constructor() public void Constructor()
{ {
Assert.AreEqual(_command.Method, "album.gettoptags"); Assert.AreEqual(_command.Method, "album.getTopTags");
Assert.AreEqual(_command.Parameters["album"], "Believe"); Assert.AreEqual(_command.Parameters["album"], "Believe");
Assert.AreEqual(_command.Parameters["artist"], "Cher"); Assert.AreEqual(_command.Parameters["artist"], "Cher");
} }
[TestMethod] [TestMethod]
@ -49,7 +44,6 @@ public async Task HandleSuccessResponse()
} }
[TestMethod] [TestMethod]
public async Task HandleEmptyResponse() public async Task HandleEmptyResponse()
{ {
@ -75,6 +69,4 @@ public async Task HandleErrorResponse()
Assert.IsTrue(!parsed.Content.Any()); Assert.IsTrue(!parsed.Content.Any());
} }
} }
} }