mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-31 11:35:24 +01:00
Fix AlbumCoverManagerTest
This commit is contained in:
parent
1f8263d329
commit
9fd387cfab
@ -15,6 +15,7 @@
|
|||||||
along with Clementine. If not, see <http://www.gnu.org/licenses/>.
|
along with Clementine. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "covers/coverproviders.h"
|
||||||
#include "ui/albumcovermanager.h"
|
#include "ui/albumcovermanager.h"
|
||||||
|
|
||||||
#include "gtest/gtest.h"
|
#include "gtest/gtest.h"
|
||||||
@ -26,10 +27,11 @@
|
|||||||
class AlbumCoverManagerTest : public ::testing::Test {
|
class AlbumCoverManagerTest : public ::testing::Test {
|
||||||
protected:
|
protected:
|
||||||
AlbumCoverManagerTest()
|
AlbumCoverManagerTest()
|
||||||
: manager_(NULL, NULL, &mock_network_) {
|
: manager_(NULL, &cover_providers_, NULL, &mock_network_) {
|
||||||
}
|
}
|
||||||
|
|
||||||
MockNetworkAccessManager mock_network_;
|
MockNetworkAccessManager mock_network_;
|
||||||
|
CoverProviders cover_providers_;
|
||||||
AlbumCoverManager manager_;
|
AlbumCoverManager manager_;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user