euromark 12 years ago
parent
commit
55f8e4f968
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Test/Case/View/Helper/CommonHelperTest.php

+ 3 - 0
Test/Case/View/Helper/CommonHelperTest.php

@@ -12,6 +12,9 @@ class CommonHelperTest extends MyCakeTestCase {
 
 	public function setUp() {
 		parent::setUp();
+  	if (!Configure::read('App.fullBaseUrl')) {
+  		Configure::write('App.fullBaseUrl', 'http://localhost');
+  	}
 
 		$this->Common = new CommonHelper(new View(null));
 	}