aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/front/controller/admin/LogoutControllerTest.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-05-22 13:47:02 +0200
committerArthurHoaro <arthur@hoa.ro>2020-07-23 21:19:21 +0200
commitba43064ddb7771fc97df135a32f9b0d5e373dd36 (patch)
treeb3519775fa4fe573af6980459e486f43837e5594 /tests/front/controller/admin/LogoutControllerTest.php
parent2899ebb5b5e82890c877151f5c02045266ac9973 (diff)
downloadShaarli-ba43064ddb7771fc97df135a32f9b0d5e373dd36.tar.gz
Shaarli-ba43064ddb7771fc97df135a32f9b0d5e373dd36.tar.zst
Shaarli-ba43064ddb7771fc97df135a32f9b0d5e373dd36.zip
Process tools page through Slim controller
Diffstat (limited to 'tests/front/controller/admin/LogoutControllerTest.php')
-rw-r--r--tests/front/controller/admin/LogoutControllerTest.php2
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);
5namespace Shaarli\Front\Controller\Admin; 5namespace 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 */
8if (!function_exists('Shaarli\Front\Controller\setcookie')) { 8if (!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 }