mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
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:
parent
ba139f10bb
commit
63fe9906cc
3 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
<?PHP
|
||||
<?php
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// + $Id$
|
||||
// +------------------------------------------------------------------+ //
|
||||
|
|
|
@ -17,7 +17,7 @@ class DboTest extends UnitTestCase
|
|||
// here
|
||||
function setUp()
|
||||
{
|
||||
$this->dbo = DboFactory::make('test');
|
||||
$this->dbo = DBO::getInstance('test');
|
||||
|
||||
$this->createTemporaryTable();
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
// }
|
||||
// }*/
|
||||
}
|
||||
|
||||
?>
|
Loading…
Reference in a new issue