summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2017-08-24 19:14:27 +0200
committerBastien Nocera <hadess@hadess.net>2017-08-24 19:26:43 +0200
commit53a2bccb6a623c985cf5a7e558fe52a7c5fbb0d8 (patch)
tree2d599dac7ddccfb0bb2eb99ef286bae68a09ad13 /tests
parent8f80b1dcf749d2197aed89064465faf5a098813f (diff)
downloadgrilo-plugins-53a2bccb6a623c985cf5a7e558fe52a7c5fbb0d8.tar.gz
Revert "tests: fix url for mocked content in thegamesdb"
This reverts commit a93945beb7da8b9334855e67a3f8610c665d26a3. The test is supposed to lookup a Game Gear game, as can be seen from the contents of the results file. Not remembering the original reason for that test case (probably accents :), make it be a test for Game Gear mime-type support in the Games DB code.
Diffstat (limited to 'tests')
-rw-r--r--tests/games/data/network-data.ini2
-rw-r--r--tests/games/test_games.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/games/data/network-data.ini b/tests/games/data/network-data.ini
index ef4f080..2e1dd5d 100644
--- a/tests/games/data/network-data.ini
+++ b/tests/games/data/network-data.ini
@@ -25,7 +25,7 @@ data=resolve-sonic-sms.data
[http://thegamesdb.net/api/GetGame.php?id=3016]
data=resolve-getgame-sonic-sms.data
-[http://thegamesdb.net/api/GetGamesList.php?name=Ast%C3%A9rix&platform=PC]
+[http://thegamesdb.net/api/GetGamesList.php?name=Ast%C3%A9rix&platform=Sega%20Game%20Gear]
data=resolve-asterix.data
[http://thegamesdb.net/api/GetGame.php?id=11837]
diff --git a/tests/games/test_games.c b/tests/games/test_games.c
index 4220ab5..b771dd8 100644
--- a/tests/games/test_games.c
+++ b/tests/games/test_games.c
@@ -191,7 +191,7 @@ test_resolve_thumbnails_found (void)
test_resolve_thumbnail_found (source, keys, options,
"Astérix",
- "",
+ "application/x-gamegear-rom",
NULL,
0,
"http://thegamesdb.net/banners/boxart/original/front/11837-1.jpg");