-/** Override PHP builtin setcookie function in the local namespace to mock it... more or less */
-if (!function_exists('Shaarli\Front\Controller\Admin\setcookie')) {
- function setcookie(string $name, string $value): void {
- $_COOKIE[$name] = $value;
- }
-}
-
-use PHPUnit\Framework\TestCase;
-use Shaarli\Security\LoginManager;