Fix broken tests
This commit is contained in:
parent
16f62ceb8d
commit
db686dbd8d
@ -0,0 +1,15 @@
|
||||
<?php return Aviat\AnimeClient\Types\FormItem::__set_state(array(
|
||||
'id' => 14047981,
|
||||
'anilist_item_id' => NULL,
|
||||
'mal_id' => NULL,
|
||||
'data' =>
|
||||
Aviat\AnimeClient\Types\FormItemData::__set_state(array(
|
||||
'notes' => 'Very formulaic.',
|
||||
'private' => false,
|
||||
'progress' => 38,
|
||||
'ratingTwenty' => 16,
|
||||
'reconsumeCount' => 0,
|
||||
'reconsuming' => false,
|
||||
'status' => 'current',
|
||||
)),
|
||||
));
|
@ -0,0 +1,15 @@
|
||||
<?php return Aviat\AnimeClient\Types\FormItem::__set_state(array(
|
||||
'id' => 14047981,
|
||||
'anilist_item_id' => NULL,
|
||||
'mal_id' => '12345',
|
||||
'data' =>
|
||||
Aviat\AnimeClient\Types\FormItemData::__set_state(array(
|
||||
'notes' => 'Very formulaic.',
|
||||
'private' => true,
|
||||
'progress' => 38,
|
||||
'ratingTwenty' => 16,
|
||||
'reconsumeCount' => 0,
|
||||
'reconsuming' => true,
|
||||
'status' => 'current',
|
||||
)),
|
||||
));
|
@ -0,0 +1,14 @@
|
||||
<?php return Aviat\AnimeClient\Types\FormItem::__set_state(array(
|
||||
'id' => 14047983,
|
||||
'anilist_item_id' => NULL,
|
||||
'mal_id' => '12347',
|
||||
'data' =>
|
||||
Aviat\AnimeClient\Types\FormItemData::__set_state(array(
|
||||
'notes' => '',
|
||||
'private' => true,
|
||||
'progress' => 12,
|
||||
'reconsumeCount' => 0,
|
||||
'reconsuming' => true,
|
||||
'status' => 'current',
|
||||
)),
|
||||
));
|
@ -218,6 +218,7 @@ class DispatcherTest extends AnimeClientTestCase {
|
||||
'manga' => 'Aviat\AnimeClient\Controller\Manga',
|
||||
'anime-collection' => 'Aviat\AnimeClient\Controller\AnimeCollection',
|
||||
'manga-collection' => 'Aviat\AnimeClient\Controller\MangaCollection',
|
||||
'people' => 'Aviat\AnimeClient\Controller\People',
|
||||
'character' => 'Aviat\AnimeClient\Controller\Character',
|
||||
'index' => 'Aviat\AnimeClient\Controller\Index',
|
||||
]
|
||||
@ -238,6 +239,7 @@ class DispatcherTest extends AnimeClientTestCase {
|
||||
'manga' => 'Aviat\AnimeClient\Controller\Manga',
|
||||
'anime-collection' => 'Aviat\AnimeClient\Controller\AnimeCollection',
|
||||
'manga-collection' => 'Aviat\AnimeClient\Controller\MangaCollection',
|
||||
'people' => 'Aviat\AnimeClient\Controller\People',
|
||||
'character' => 'Aviat\AnimeClient\Controller\Character',
|
||||
'index' => 'Aviat\AnimeClient\Controller\Index',
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user