From 4c05228497c1dd5451958cf67f7a8fde81ed9d36 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 18 Nov 2021 06:49:16 +0000 Subject: [PATCH] And again --- 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 60cffab1d..93a8d173e 100644 --- a/tests/legacy/ApiTest.php +++ b/tests/legacy/ApiTest.php @@ -715,7 +715,7 @@ class ApiTest extends FixtureTest $_SERVER['PHP_AUTH_PW'] = 'password'; $_SESSION['allow_api'] = false; BasicAuth::setCurrentUserID(); - self::assertFalse(BaseApi::getCurrentUserID(true)); + self::assertFalse(api_get_user()); } /**