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