This commit is contained in:
Timothy Warren 2015-10-01 16:07:40 -04:00
parent 7917c39065
commit e71e76dbc6

View File

@ -1,11 +1,18 @@
<?php <?php
use Aviat\Ion\Friend; use Aviat\Ion\Friend;
use Aviat\Ion\Di\ContainerInterface;
use Aviat\AnimeClient\Model\Anime as AnimeModel; use Aviat\AnimeClient\Model\Anime as AnimeModel;
class AnimeMock extends AnimeModel { class AnimeMock extends AnimeModel {
protected $transformed_data_file = __DIR__ . "/../../test_data/anime_list/anime-completed-transformed.json"; protected $transformed_data_file;
public function __construct(ContainerInterface $container)
{
parent::__construct($container);
$this->transformed_data_file = __DIR__ . "/../../test_data/anime_list/anime-completed-transformed.json";
}
protected function _get_list_from_api($status="all") protected function _get_list_from_api($status="all")
{ {