From 1f23f2e64d07ecb1bbb6b603edce94bedc0b55c5 Mon Sep 17 00:00:00 2001 From: John Maguire Date: Thu, 4 Mar 2010 11:48:19 +0000 Subject: [PATCH] Check last.fm method in AlbumCoverFetcherTest. --- tests/albumcoverfetcher_test.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/albumcoverfetcher_test.cpp b/tests/albumcoverfetcher_test.cpp index 5d2bde039..b9821640f 100644 --- a/tests/albumcoverfetcher_test.cpp +++ b/tests/albumcoverfetcher_test.cpp @@ -43,6 +43,7 @@ TEST_F(AlbumCoverFetcherTest, FetchesAlbumCover) { params["artist"] = "Foo"; params["album"] = "Bar"; params["api_key"] = "foobar"; + params["method"] = "album.getInfo"; MockNetworkReply* get_info_reply = network_->ExpectGet("audioscrobbler", params, 200, data); params.clear(); MockNetworkReply* album_reply = network_->ExpectGet("http://example.com/image.jpg", params, 200, "");