commit | d40a545e9e7e4dc222d58fe46fe23f3691f043ee | [log] [tgz] |
---|---|---|
author | Taufan Aditya <toopay@taufanaditya.com> | Tue May 15 22:00:14 2012 +0700 |
committer | Taufan Aditya <toopay@taufanaditya.com> | Tue May 15 22:00:14 2012 +0700 |
tree | e68543bfcb242f82829b7139c8eb1bf99647ca3b | |
parent | 8af88f3f729b7bcfd2a106f858b5445deafe5ed0 [diff] [blame] |
Comment block for explanation
diff --git a/tests/mocks/core/security.php b/tests/mocks/core/security.php index de8e447..c5269fb 100644 --- a/tests/mocks/core/security.php +++ b/tests/mocks/core/security.php
@@ -4,6 +4,9 @@ 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; }