Version 5.1 - All the GraphQL #32

Closed
timw4mail wants to merge 1160 commits from develop into master
1 changed files with 12 additions and 1 deletions
Showing only changes of commit 99b429433c - Show all commits

View File

@ -56,12 +56,23 @@ class MangaModelTest extends AnimeClient_TestCase {
public function testGetList()
{
if (($var = getenv('CI')))
{
$this->markTestSkipped();
}
$data = $this->model->get_all_lists();
$this->assertEquals($data['Reading'], $this->model->get_list('Reading'));
}
public function testGetAllLists()
{
if (($var = getenv('CI')))
{
$this->markTestSkipped();
}
$data = json_decode(file_get_contents($this->mockDir . '/manga-mapped.json'), TRUE);
foreach($data as &$val)
@ -71,7 +82,7 @@ class MangaModelTest extends AnimeClient_TestCase {
$this->assertEquals($data, $this->model->get_all_lists());
}
private function sort_by_name(&$array)
{
$sort = array();