diff options
author | Taufan Aditya <toopay@taufanaditya.com> | 2012-05-15 17:00:14 +0200 |
---|---|---|
committer | Taufan Aditya <toopay@taufanaditya.com> | 2012-05-15 17:00:14 +0200 |
commit | d40a545e9e7e4dc222d58fe46fe23f3691f043ee (patch) | |
tree | e68543bfcb242f82829b7139c8eb1bf99647ca3b | |
parent | 8af88f3f729b7bcfd2a106f858b5445deafe5ed0 (diff) |
Comment block for explanation
-rw-r--r-- | tests/mocks/core/security.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/mocks/core/security.php b/tests/mocks/core/security.php index de8e44710..c5269fbc5 100644 --- a/tests/mocks/core/security.php +++ b/tests/mocks/core/security.php @@ -4,6 +4,9 @@ class Mock_Core_Security extends CI_Security { public function csrf_set_cookie() { + // We cannot set cookie in CLI mode, so for csrf test, who rely on $_COOKIE, + // we superseded set_cookie with directly set the cookie variable, + // @see : ./Bootstrap.php, line 16 return $this; } |