Fix broken test

This commit is contained in:
Timothy Warren 2015-09-28 15:11:45 -04:00
parent a7ae1ac3a6
commit e634a22134

View File

@ -25,7 +25,7 @@ class AnimeListTransformer extends AbstractTransformer {
if ($item['rating']['type'] === 'advanced')
{
$rating = (is_numeric($item['rating']['value']))
? 2 * $item['rating']['value']
? intval(2 * $item['rating']['value'])
: '-';
}
@ -55,6 +55,7 @@ class AnimeListTransformer extends AbstractTransformer {
'ended' => $anime['finished_airing']
],
'anime' => [
'age_rating' => $anime['age_rating'],
'title' => $anime['title'],
'alternate_title' => $alternate_title,
'slug' => $anime['slug'],