Fix failing tests for PHP < 5.6
This commit is contained in:
parent
e2731db7ea
commit
60109b3531
@ -4,11 +4,14 @@ use Aviat\AnimeClient\Transformer\Hummingbird\MangaListsZipper;
|
|||||||
|
|
||||||
class MangaListsZipperTest extends AnimeClient_TestCase {
|
class MangaListsZipperTest extends AnimeClient_TestCase {
|
||||||
|
|
||||||
protected $start_file = __DIR__ . '/../../test_data/manga_list/manga.json';
|
protected $start_file = '';
|
||||||
protected $res_file = __DIR__ . '/../../test_data/manga_list/manga-zippered.json';
|
protected $res_file = '';
|
||||||
|
|
||||||
public function setUp()
|
public function setUp()
|
||||||
{
|
{
|
||||||
|
$this->start_file = __DIR__ . '/../../test_data/manga_list/manga.json';
|
||||||
|
$this->res_file = __DIR__ . '/../../test_data/manga_list/manga-zippered.json';
|
||||||
|
|
||||||
$json = json_decode(file_get_contents($this->start_file), TRUE);
|
$json = json_decode(file_get_contents($this->start_file), TRUE);
|
||||||
$this->mangaListsZipper = new MangaListsZipper($json);
|
$this->mangaListsZipper = new MangaListsZipper($json);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user