Version 5.1 - All the GraphQL #32

Closed
timw4mail wants to merge 1160 commits from develop into master
Showing only changes of commit e71e76dbc6 - Show all commits

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")
{ {