32 lines
833 B
Text
32 lines
833 B
Text
<?php
|
|
namespace Mevdschee\PhpCrudApi\Tests;
|
|
|
|
class Config
|
|
{
|
|
/**
|
|
* Configure one or more database connections as associative arrays.
|
|
* Tests will be run against any database connection specified here.
|
|
*
|
|
* @var array
|
|
*/
|
|
public static $config = array(
|
|
'MySQL' => array(
|
|
'hostname' => 'localhost',
|
|
'username' => 'root',
|
|
'password' => 'travis',
|
|
'database' => 'testing',
|
|
),
|
|
'PostgreSQL' => array(
|
|
'hostname' => 'localhost',
|
|
'username' => 'postgres',
|
|
'password' => '',
|
|
'database' => 'testing',
|
|
),
|
|
'SQLite' => array(
|
|
'hostname' => '',
|
|
'username' => '',
|
|
'password' => '',
|
|
'database' => 'tests/sqlite.db',
|
|
),
|
|
);
|
|
}
|