diff options
Diffstat (limited to 'tests/simple_unit/DbCommon/CommandBuilderMysqlTest.php')
| -rw-r--r-- | tests/simple_unit/DbCommon/CommandBuilderMysqlTest.php | 32 | 
1 files changed, 16 insertions, 16 deletions
| diff --git a/tests/simple_unit/DbCommon/CommandBuilderMysqlTest.php b/tests/simple_unit/DbCommon/CommandBuilderMysqlTest.php index 6b744a4b..e248defd 100644 --- a/tests/simple_unit/DbCommon/CommandBuilderMysqlTest.php +++ b/tests/simple_unit/DbCommon/CommandBuilderMysqlTest.php @@ -1,19 +1,19 @@  <?php -Prado::using('System.Data.*');
 -Prado::using('System.Data.Common.Mysql.TMysqlMetaData');
 -
 -class CommandBuilderMysqlTest extends UnitTestCase
 -{
 -	function mysql_meta_data()
 -	{
 -		$conn = new TDbConnection('mysql:host=localhost;dbname=tests;port=3307', 'test5','test5');
 -		return new TMysqlMetaData($conn);
 -	}
 -
 -	function test()
 -	{
 -		$this->mysql_meta_data()->getTableInfo("tests.table1");
 -	}
 -}
 +Prado::using('System.Data.*'); +Prado::using('System.Data.Common.Mysql.TMysqlMetaData'); + +class CommandBuilderMysqlTest extends UnitTestCase +{ +	function mysql_meta_data() +	{ +		$conn = new TDbConnection('mysql:host=localhost;dbname=tests;port=3307', 'test5','test5'); +		return new TMysqlMetaData($conn); +	} + +	function test() +	{ +		$this->mysql_meta_data()->getTableInfo("tests.table1"); +	} +}  ?>
\ No newline at end of file | 
