git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1653 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
21 lines
542 B
PHP
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"] = "";
|
|
}
|
|
|
|
|
|
}
|