Tests are passing now, but DboFactory needs to get out at some point.

git-svn-id: https://svn.cakephp.org/repo/trunk/cake@275 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
brego 2005-06-23 14:13:50 +00:00
parent ba139f10bb
commit 63fe9906cc
3 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
<?PHP
<?php
//////////////////////////////////////////////////////////////////////////
// + $Id$
// +------------------------------------------------------------------+ //

View file

@ -17,7 +17,7 @@ class DboTest extends UnitTestCase
// here
function setUp()
{
$this->dbo = DboFactory::make('test');
$this->dbo = DBO::getInstance('test');
$this->createTemporaryTable();
}

View file

@ -12,7 +12,7 @@ class DboFactoryTest extends UnitTestCase
$this->UnitTestCase('DBO Factory test');
}
// called before the test functions will be executed
/* // called before the test functions will be executed
// this function is defined in PHPUnit_TestCase and overwritten
// here
function setUp()
@ -62,7 +62,7 @@ class DboFactoryTest extends UnitTestCase
// function testBadConfig() {
// $output = $this->dboFactory->make(null);
// $this->assertTrue($output === false);
// }
// }*/
}
?>