expectException(\Friendica\Network\HTTPException\UnauthorizedException::class); // BasicAuth::setCurrentUserID(); // api_search('json'); } /** * Test the api_search() function without any GET query parameter. * * @return void */ public function testApiSearchWithoutQuery() { self::markTestIncomplete('Needs Search to not set header during call (like at BaseApi::setLinkHeader'); // $this->expectException(\Friendica\Network\HTTPException\BadRequestException::class); // api_search('json'); } }