todo_api/tests/Config.php.travis
Maurits van der Schee 2a2e49eb6c PSR-4 comliant tests
2017-04-15 22:56:04 +02:00

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',
),
);
}