浏览代码

fix tests

euromark 11 年之前
父节点
当前提交
7b77ed1a0d

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

@@ -13,6 +13,8 @@ class CommonComponentTest extends CakeTestCase {
 
 	public function setUp() {
 		parent::setUp();
+
+		// BUGFIX for CakePHP2.5 - One has to write to the session before deleting actually works
 		CakeSession::write('Auth', '');
 		CakeSession::delete('Auth');
 

+ 1 - 2
Vendor/CssToInlineStyles/CssToInlineStyles.php

@@ -68,8 +68,7 @@ class CssToInlineStyles
     private $excludeMediaQueries = false;
 
 		/**
-		 * Necessary for OS Win to output in the correct encoding.
-		 * Only applicable for PHP5.4 and above.
+		 * Only necessary and applicable for PHP5.4 and above.
 		 *
 		 * @var bool
 		 */