This commit is contained in:
Michael 2021-11-18 06:37:48 +00:00
parent d0bae37538
commit 268ad197c7

View file

@ -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());
}
/**