mirror of
https://github.com/Mibew/design.git
synced 2025-01-22 18:10:33 +03:00
Add additional config info to unit tests
This commit is contained in:
parent
ce82496013
commit
1a963cff00
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
require_once dirname(__FILE__) . '/../../../../webim/libs/classes/database.php';
|
||||
require_once dirname(__FILE__) . '/../database_config.php';
|
||||
require_once dirname(__FILE__) . '/../config.php';
|
||||
|
||||
/**
|
||||
* Test class for Database.
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
require_once dirname(__FILE__) . '/../../../../webim/libs/classes/settings.php';
|
||||
require_once dirname(__FILE__) . '/../../../../webim/libs/classes/database.php';
|
||||
require_once dirname(__FILE__) . '/../database_config.php';
|
||||
require_once dirname(__FILE__) . '/../config.php';
|
||||
|
||||
/**
|
||||
* Test class for Settings.
|
||||
|
@ -1,12 +1,13 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Database parameters
|
||||
*
|
||||
* WARNING: Do not use the same values as in the mibew config file!
|
||||
* Tests may truncate databses they use and all data will be lost!
|
||||
*
|
||||
* Use at least default $tables prefix
|
||||
*/
|
||||
|
||||
$db_host = "";
|
||||
$db_user = "";
|
||||
$db_pass = "";
|
||||
@ -17,4 +18,11 @@ $db_encoding = "utf8";
|
||||
$force_charset_in_connection = true;
|
||||
$use_persistent_connection = false;
|
||||
|
||||
|
||||
/*
|
||||
* Locales
|
||||
*/
|
||||
$home_locale = "en"; /* native name will be used in this locale */
|
||||
$default_locale = "en"; /* if user does not provide known lang */
|
||||
|
||||
?>
|
Loading…
Reference in New Issue
Block a user