Browse Source

Fix tests/bootstrap

Mark Scherer 11 years ago
parent
commit
88aa6f1de1
2 changed files with 3 additions and 1 deletions
  1. 1 0
      src/Controller/Component/FlashComponent.php
  2. 2 1
      tests/bootstrap.php

+ 1 - 0
src/Controller/Component/FlashComponent.php

@@ -45,6 +45,7 @@ class FlashComponent extends Component {
 			(array)$this->Controller->request->session()->consume('FlashMessage'),
 			(array)Configure::consume('FlashMessage')
 		);
+
 		// The header can be read with JavaScript and a custom Message can be displayed
 		$this->Controller->response->header($headerKey, json_encode($ajaxMessages));
 	}

+ 2 - 1
tests/bootstrap.php

@@ -55,7 +55,8 @@ $Tmp->create(TMP . 'cache/views', 0770);
 
 $cache = [
 	'default' => [
-		'engine' => 'File'
+		'engine' => 'File',
+		'path' => CACHE
 	],
 	'_cake_core_' => [
 		'className' => 'File',