diff --git a/tests/datasets/api.fixture.php b/tests/datasets/api.fixture.php index e85313ca61..a8705696f2 100644 --- a/tests/datasets/api.fixture.php +++ b/tests/datasets/api.fixture.php @@ -221,12 +221,12 @@ return [ 'location' => 'DFRN', ], [ - 'id' => 42, + 'id' => 48, 'uid' => 0, 'uri-id' => 42, 'name' => 'Self contact', 'nick' => 'selfcontact', - 'self' => 1, + 'self' => 0, 'nurl' => 'http://localhost/profile/selfcontact', 'url' => 'http://localhost/profile/selfcontact', 'about' => 'User used in tests', diff --git a/tests/legacy/ApiTest.php b/tests/legacy/ApiTest.php index eb5394ec9e..2067a35362 100644 --- a/tests/legacy/ApiTest.php +++ b/tests/legacy/ApiTest.php @@ -6,21 +6,14 @@ namespace Friendica\Test\legacy; use Friendica\App; -use Friendica\App\Router; use Friendica\Core\Config\Capability\IManageConfigValues; -use Friendica\Core\PConfig\Capability\IManagePersonalConfigValues; -use Friendica\Core\Protocol; use Friendica\DI; -use Friendica\Model\Post; use Friendica\Module\Api\ApiResponse; -use Friendica\Module\Api\Twitter\Media\Upload; use Friendica\Module\BaseApi; -use Friendica\Network\HTTPException; use Friendica\Security\BasicAuth; use Friendica\Test\FixtureTest; use Friendica\Util\Arrays; use Friendica\Util\DateTimeFormat; -use Friendica\Util\Temporal; use Monolog\Handler\TestHandler; require_once __DIR__ . '/../../include/api.php';