run(); $json = $this->toJson($response); self::assertIsArray($json->users); } /** * Test the api_blocks_list() function an undefined cursor GET variable. * * @return void */ public function testApiBlocksListWithUndefinedCursor() { self::markTestIncomplete('Needs refactoring of Lists - replace filter_input() with $request parameter checks'); // $_GET['cursor'] = 'undefined'; // self::assertFalse(api_blocks_list('json')); } }