From 268ad197c7d5c686939cd6c8bcf73a72ec48a829 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 18 Nov 2021 06:37:48 +0000 Subject: [PATCH] Tests --- 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 93a8d173e..67ef29ada 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(api_get_user()); + self::assertFalse(BaseApi::getCurrentUserID()); } /**