Mark Scherer 10 年之前
父节点
当前提交
0e38152173
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Test/Case/Lib/GooglLibTest.php

+ 1 - 1
Test/Case/Lib/GooglLibTest.php

@@ -63,7 +63,7 @@ class GooglLibTest extends MyCakeTestCase {
 	 * @return void
 	 * @return void
 	 */
 	 */
 	public function testApi() {
 	public function testApi() {
-		$this->skipIf(!Configure::write('Googl.key'), 'No Api Key found');
+		$this->skipIf(!Configure::read('Googl.key'), 'No Api Key found');
 
 
 		// Shorten with key
 		// Shorten with key
 		$url = 'http://www.blue.de';
 		$url = 'http://www.blue.de';