Files
DomFramework/Tests/dblayerTest.php
2014-08-01 12:48:37 +00:00

21 lines
542 B
PHP

<?php
/** DomFramework - Tests
@package domframework
@author Dominique Fournier <dominique@fournier38.fr> */
/** Test the dblayer.php file */
class test_dblayer extends PHPUnit_Framework_TestCase
{
public function test_createDB ()
{
// Must use the model to create the database structure as there is no
// creation of tables in controller
$configuration = new configuration ();
$dbconfig = $configuration->get ("database");
if (! isset ($dbconfig["tableprefix"]))
$dbconfig["tableprefix"] = "";
}
}