Update tests relating to issue #9

This commit is contained in:
Timothy Warren 2016-02-09 21:03:26 -05:00
parent 0b6269edd6
commit 3027c8a4a8

View File

@ -105,7 +105,7 @@ class MangaListTransformer extends AbstractTransformer {
'notes' => $item['notes'],
];
if ($item['new_rating'] !== $item['old_rating'] && ! empty($item['new_rating']))
if ($item['new_rating'] !== $item['old_rating'] && $item['new_rating'] !== "")
{
$map['rating'] = ($item['new_rating'] > 0)
? $item['new_rating'] / 2