mark remaining Mastodon tests incomplete because of needed refactoring

This commit is contained in:
Philipp
2021-12-04 23:08:12 +01:00
parent 215979c2ac
commit 226f6038de
2 changed files with 20 additions and 0 deletions

View File

@@ -13,6 +13,8 @@ class ConversationsTest extends ApiTest
*/
public function testApiConversationShow()
{
self::markTestIncomplete('Needs Conversations to not set header during call (like at BaseApi::setLinkHeader');
// $this->expectException(\Friendica\Network\HTTPException\BadRequestException::class);
// api_conversation_show('json');
}
@@ -24,6 +26,8 @@ class ConversationsTest extends ApiTest
*/
public function testApiConversationShowWithId()
{
self::markTestIncomplete('Needs Conversations to not set header during call (like at BaseApi::setLinkHeader');
/*
DI::args()->setArgv(['', '', '', 1]);
$_REQUEST['max_id'] = 10;
@@ -43,6 +47,8 @@ class ConversationsTest extends ApiTest
*/
public function testApiConversationShowWithUnallowedUser()
{
self::markTestIncomplete('Needs Conversations to not set header during call (like at BaseApi::setLinkHeader');
// $this->expectException(\Friendica\Network\HTTPException\UnauthorizedException::class);
// BasicAuth::setCurrentUserID();
// api_conversation_show('json');