From 0648f2f9ee6c49cec879b3f61b8eb1757fc0b4fa Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 18 Nov 2021 15:55:25 +0000 Subject: [PATCH] Fix test --- tests/legacy/ApiTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/legacy/ApiTest.php b/tests/legacy/ApiTest.php index f91bf701d..a63daee93 100644 --- a/tests/legacy/ApiTest.php +++ b/tests/legacy/ApiTest.php @@ -812,7 +812,7 @@ class ApiTest extends FixtureTest */ public function testApiGetUserWithZeroUser() { - self::assertSelfUser(api_get_user(0)); + self::assertSelfUser(DI::twitterUser()->createFromUserId(BaseApi::getCurrentUserID())->toArray()); } /**