From e84cbe1bb226ba49ca1b0cc3e20244a655d95e60 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Mon, 29 Oct 2018 09:41:50 -0400 Subject: [PATCH] Update test snapshots --- ...AnimeTransformerTest__testTransform__1.php | 208 ++++++++++++++++++ 1 file changed, 208 insertions(+) diff --git a/tests/API/Kitsu/Transformer/__snapshots__/AnimeTransformerTest__testTransform__1.php b/tests/API/Kitsu/Transformer/__snapshots__/AnimeTransformerTest__testTransform__1.php index 5b4ac5cb..50b3f03d 100644 --- a/tests/API/Kitsu/Transformer/__snapshots__/AnimeTransformerTest__testTransform__1.php +++ b/tests/API/Kitsu/Transformer/__snapshots__/AnimeTransformerTest__testTransform__1.php @@ -8,6 +8,214 @@ array ( ), 'id' => 32344, + 'included' => + array ( + 'categories' => + array ( + 23 => + array ( + 'name' => 'Super Power', + 'slug' => 'super-power', + 'description' => NULL, + ), + 11 => + array ( + 'name' => 'Fantasy', + 'slug' => 'fantasy', + 'description' => '', + ), + 4 => + array ( + 'name' => 'Drama', + 'slug' => 'drama', + 'description' => '', + ), + 1 => + array ( + 'name' => 'Action', + 'slug' => 'action', + 'description' => '', + ), + ), + 'mappings' => + array ( + 5686 => + array ( + 'externalSite' => 'myanimelist/anime', + 'externalId' => '16498', + 'relationships' => + array ( + 'media' => + array ( + 'links' => + array ( + 'self' => 'https://kitsu.io/api/edge/mappings/5686/relationships/media', + 'related' => 'https://kitsu.io/api/edge/mappings/5686/media', + ), + ), + ), + ), + 14153 => + array ( + 'externalSite' => 'thetvdb/series', + 'externalId' => '267440', + 'relationships' => + array ( + 'media' => + array ( + 'links' => + array ( + 'self' => 'https://kitsu.io/api/edge/mappings/14153/relationships/media', + 'related' => 'https://kitsu.io/api/edge/mappings/14153/media', + ), + ), + ), + ), + 15073 => + array ( + 'externalSite' => 'thetvdb/season', + 'externalId' => '514060', + 'relationships' => + array ( + 'media' => + array ( + 'links' => + array ( + 'self' => 'https://kitsu.io/api/edge/mappings/15073/relationships/media', + 'related' => 'https://kitsu.io/api/edge/mappings/15073/media', + ), + ), + ), + ), + ), + 'streamingLinks' => + array ( + 103 => + array ( + 'url' => 'http://www.crunchyroll.com/attack-on-titan', + 'subs' => + array ( + 0 => 'en', + ), + 'dubs' => + array ( + 0 => 'ja', + ), + 'relationships' => + array ( + 'streamer' => + array ( + 'links' => + array ( + 'self' => 'https://kitsu.io/api/edge/streaming-links/103/relationships/streamer', + 'related' => 'https://kitsu.io/api/edge/streaming-links/103/streamer', + ), + ), + 'media' => + array ( + 'links' => + array ( + 'self' => 'https://kitsu.io/api/edge/streaming-links/103/relationships/media', + 'related' => 'https://kitsu.io/api/edge/streaming-links/103/media', + ), + ), + ), + ), + 102 => + array ( + 'url' => 'http://www.hulu.com/attack-on-titan', + 'subs' => + array ( + 0 => 'en', + ), + 'dubs' => + array ( + 0 => 'ja', + ), + 'relationships' => + array ( + 'streamer' => + array ( + 'links' => + array ( + 'self' => 'https://kitsu.io/api/edge/streaming-links/102/relationships/streamer', + 'related' => 'https://kitsu.io/api/edge/streaming-links/102/streamer', + ), + ), + 'media' => + array ( + 'links' => + array ( + 'self' => 'https://kitsu.io/api/edge/streaming-links/102/relationships/media', + 'related' => 'https://kitsu.io/api/edge/streaming-links/102/media', + ), + ), + ), + ), + 101 => + array ( + 'url' => 'http://www.funimation.com/shows/attack-on-titan/videos/episodes', + 'subs' => + array ( + 0 => 'en', + ), + 'dubs' => + array ( + 0 => 'ja', + ), + 'relationships' => + array ( + 'streamer' => + array ( + 'links' => + array ( + 'self' => 'https://kitsu.io/api/edge/streaming-links/101/relationships/streamer', + 'related' => 'https://kitsu.io/api/edge/streaming-links/101/streamer', + ), + ), + 'media' => + array ( + 'links' => + array ( + 'self' => 'https://kitsu.io/api/edge/streaming-links/101/relationships/media', + 'related' => 'https://kitsu.io/api/edge/streaming-links/101/media', + ), + ), + ), + ), + 100 => + array ( + 'url' => 't', + 'subs' => + array ( + 0 => 'en', + ), + 'dubs' => + array ( + 0 => 'ja', + ), + 'relationships' => + array ( + 'streamer' => + array ( + 'links' => + array ( + 'self' => 'https://kitsu.io/api/edge/streaming-links/100/relationships/streamer', + 'related' => 'https://kitsu.io/api/edge/streaming-links/100/streamer', + ), + ), + 'media' => + array ( + 'links' => + array ( + 'self' => 'https://kitsu.io/api/edge/streaming-links/100/relationships/media', + 'related' => 'https://kitsu.io/api/edge/streaming-links/100/media', + ), + ), + ), + ), + ), + ), 'show_type' => 'TV', 'slug' => 'attack-on-titan', 'status' => 'Finished Airing',