euromark 11 年之前
父节点
当前提交
cdef3ce2e7
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 1
      Lib/InlineCssLib.php
  2. 1 0
      Test/Case/Controller/Component/CommonComponentTest.php

+ 1 - 1
Lib/InlineCssLib.php

@@ -24,7 +24,7 @@ class InlineCssLib {
 		'xhtmlOutput' => false,
 		'removeCss' => true,
 		'debug' => false,
-		'correctUtf8' => false // Mainly necessary for OS Win
+		'correctUtf8' => false
 	);
 
 	public $settings = array();

+ 1 - 0
Test/Case/Controller/Component/CommonComponentTest.php

@@ -13,6 +13,7 @@ class CommonComponentTest extends CakeTestCase {
 
 	public function setUp() {
 		parent::setUp();
+		CakeSession::write('Auth', '');
 		CakeSession::delete('Auth');
 
 		$this->Controller = new CommonComponentTestController(new CakeRequest, new CakeResponse);