19declare(strict_types=1);
23use PHPUnit\Framework\Attributes\PreserveGlobalState;
24use PHPUnit\Framework\Attributes\RunInSeparateProcess;
25use PHPUnit\Framework\TestCase;
29 #[RunInSeparateProcess]
30 #[PreserveGlobalState(false)]
33 define(
'ANONYMOUS_USER_ID', 13);
38 #[RunInSeparateProcess]
39 #[PreserveGlobalState(false)]
42 define(
'ANONYMOUS_USER_ID', 13);
53 #[RunInSeparateProcess]
54 #[PreserveGlobalState(false)]
57 $this->assertFalse(defined(
'ANONYMOUS_USER_ID'));
testWithoutTheAnonymousUserNobodyIsKnown()
Without the id of the anonymous user it cannot be told apart - so nobody is known rather than everybo...
testNeitherNobodyNorTheAnonymousUserIsKnown()
testAUserOfTheSystemIsKnown()
static isKnownUser(int $usr_id)