Prepare Database class for tests
This commit is contained in:
parent
8f2661e199
commit
6642705d55
1 changed files with 4 additions and 0 deletions
|
@ -57,6 +57,8 @@ class Database
|
|||
|
||||
/**
|
||||
* @param Database $instance
|
||||
*
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
protected static function setInstance($instance)
|
||||
{
|
||||
|
@ -69,6 +71,8 @@ class Database
|
|||
* @param string $user
|
||||
* @param string $password
|
||||
* @param string $database
|
||||
*
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public static function init($host, $user = null, $password = null, $database = null)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue