浏览代码

fix php53

Mark Scherer 11 年之前
父节点
当前提交
dfd3cbf34d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Test/Case/View/Helper/FlashHelperTest.php

+ 1 - 1
Test/Case/View/Helper/FlashHelperTest.php

@@ -105,7 +105,7 @@ class FlashHelperTest extends MyCakeTestCase {
 	 * @return void
 	 */
 	public function testFlashComplexMocked() {
-		$this->View = $this->getMock('View', ['element']);
+		$this->View = $this->getMock('View', array('element'));
 		$this->Flash = new FlashHelper($this->View);
 
 		$this->Flash->settings['useElements'] = true;