1234567891011121314151617181920212223242526272829303132 |
- <?php
- namespace 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',
- ),
- );
- }
|