From 8893cdb58bf977a0d3843b4c4dfe1dd7d23b2fb8 Mon Sep 17 00:00:00 2001 From: Anna Schumaker Date: Wed, 20 Jul 2016 08:43:36 -0400 Subject: [PATCH] tests: Unit test fixes These should have been included as part of 6.4.15. Signed-off-by: Anna Schumaker --- include/tests/gui.h | 1 + tests/core/tags/album.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/tests/gui.h b/include/tests/gui.h index 07a343fc..77259a6e 100644 --- a/include/tests/gui.h +++ b/include/tests/gui.h @@ -10,6 +10,7 @@ void __audio_favorite() {} void __audio_hide() {} void __audio_pause_changed() {} void __audio_seek() {} +void __audio_select_cover() {} #endif #ifdef TEST_NEED_SIDEBAR diff --git a/tests/core/tags/album.c b/tests/core/tags/album.c index 8181bc96..87889492 100644 --- a/tests/core/tags/album.c +++ b/tests/core/tags/album.c @@ -112,7 +112,7 @@ static void test_album_artwork() cache = g_get_user_cache_dir(); o_path = g_build_filename(cache, "ocarina-test", "1998", "Ocarina of Time.jpg", NULL); - m_path = g_build_filename(cache, "ocarina-test", "2000", "Majora's Mask.jpg", NULL); + m_path = g_build_filename(cache, "ocarina-test", "2000", "Majora%27s Mask.jpg", NULL); w_path = g_build_filename(cache, "ocarina-test", "0", "Wind Waker.jpg", NULL); ocarina = album_find("Ocarina of Time", 1998);