Poking around in the fog

This commit is contained in:
Michael 2021-11-18 06:43:11 +00:00
parent 268ad197c7
commit c2181df4d2

View File

@ -715,7 +715,7 @@ class ApiTest extends FixtureTest
$_SERVER['PHP_AUTH_PW'] = 'password'; $_SERVER['PHP_AUTH_PW'] = 'password';
$_SESSION['allow_api'] = false; $_SESSION['allow_api'] = false;
BasicAuth::setCurrentUserID(); BasicAuth::setCurrentUserID();
self::assertFalse(BaseApi::getCurrentUserID()); self::assertFalse(BaseApi::getCurrentUserID(true));
} }
/** /**