diff options
Diffstat (limited to 'tests/front/controller/admin/LogoutControllerTest.php')
-rw-r--r-- | tests/front/controller/admin/LogoutControllerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/front/controller/admin/LogoutControllerTest.php b/tests/front/controller/admin/LogoutControllerTest.php index 239e39b2..ba681b16 100644 --- a/tests/front/controller/admin/LogoutControllerTest.php +++ b/tests/front/controller/admin/LogoutControllerTest.php | |||
@@ -5,7 +5,7 @@ declare(strict_types=1); | |||
5 | namespace Shaarli\Front\Controller\Admin; | 5 | namespace Shaarli\Front\Controller\Admin; |
6 | 6 | ||
7 | /** Override PHP builtin setcookie function in the local namespace to mock it... more or less */ | 7 | /** Override PHP builtin setcookie function in the local namespace to mock it... more or less */ |
8 | if (!function_exists('Shaarli\Front\Controller\setcookie')) { | 8 | if (!function_exists('Shaarli\Front\Controller\Admin\setcookie')) { |
9 | function setcookie(string $name, string $value): void { | 9 | function setcookie(string $name, string $value): void { |
10 | $_COOKIE[$name] = $value; | 10 | $_COOKIE[$name] = $value; |
11 | } | 11 | } |