Skip to content
Permalink
Browse files

cleaning up some ;;

  • Loading branch information...
gwoo
gwoo committed Jul 1, 2009
1 parent 9b4e08e commit 58b5c0d77dd7a5002046a05dadd46902016ed1d5
@@ -251,7 +251,7 @@ function __bindTextDomain($domain) {
$this->__noLocale = true;
$core = true;
$merge = array();
$searchPaths = App::path('locales');;
$searchPaths = App::path('locales');
$plugins = App::objects('plugin');
if (!empty($plugins)) {
@@ -954,7 +954,7 @@ function testBaseUrlAndWebrootWithModRewrite() {
$expectedWebroot = '/';
$this->assertEqual($expectedWebroot, $Dispatcher->webroot);
$Dispatcher->base = false;;
$Dispatcher->base = false;
$_SERVER['DOCUMENT_ROOT'] = '/some/apps/where';
$_SERVER['SCRIPT_FILENAME'] = '/some/apps/where/app/webroot/index.php';
$_SERVER['PHP_SELF'] = '/some/apps/where/app/webroot/index.php';
@@ -967,7 +967,7 @@ function testBaseUrlAndWebrootWithModRewrite() {
Configure::write('App.dir', 'auth');
$Dispatcher->base = false;;
$Dispatcher->base = false;
$_SERVER['DOCUMENT_ROOT'] = '/cake/repo/branches';
$_SERVER['SCRIPT_FILENAME'] = '/cake/repo/branches/demos/auth/webroot/index.php';
$_SERVER['PHP_SELF'] = '/demos/auth/webroot/index.php';
@@ -980,7 +980,7 @@ function testBaseUrlAndWebrootWithModRewrite() {
Configure::write('App.dir', 'code');
$Dispatcher->base = false;;
$Dispatcher->base = false;
$_SERVER['DOCUMENT_ROOT'] = '/Library/WebServer/Documents';
$_SERVER['SCRIPT_FILENAME'] = '/Library/WebServer/Documents/clients/PewterReport/code/webroot/index.php';
$_SERVER['PHP_SELF'] = '/clients/PewterReport/code/webroot/index.php';
@@ -995,7 +995,7 @@ function testReferer() {
'home'
);
$result = $Controller->referer($referer, false);
$expected = 'http://' . env('HTTP_HOST') . '/pages/display/home';;
$expected = 'http://' . env('HTTP_HOST') . '/pages/display/home';
$this->assertIdentical($result, $expected);
$_SERVER['HTTP_REFERER'] = '';
@@ -39,7 +39,7 @@ class I18nTest extends CakeTestCase {
* @return void
*/
function setUp() {
$this->_localePaths = App::path('locales');;
$this->_localePaths = App::path('locales');
App::build(array(
'locales' => array(TEST_CAKE_CORE_INCLUDE_PATH . 'tests' . DS . 'test_app' . DS . 'locale')
));
@@ -229,7 +229,7 @@ function reportCaseHtml($testObjectFile, $coverageData, $execCodeLines) {
} else {
$class = 'ignored';
}
$report .= $manager->__paintCodeline($class, $num, $line);;
$report .= $manager->__paintCodeline($class, $num, $line);
}
return $manager->__paintHeader($lineCount, $coveredCount, $report);
}

0 comments on commit 58b5c0d

Please sign in to comment.
You can’t perform that action at this time.