1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-21 13:22:14 +02:00

added new tests

This commit is contained in:
David Grudl
2015-01-12 05:33:41 +01:00
parent f5f4f786f1
commit 8395abb04f
23 changed files with 1925 additions and 0 deletions

View File

@@ -29,6 +29,13 @@ define('TEMP_DIR', __DIR__ . '/../tmp');
Tester\Environment::lock($config['system'], TEMP_DIR);
// ODBC
if ($config['system'] === 'odbc') {
copy(__DIR__ . '/data/odbc.mdb', TEMP_DIR . '/odbc.mdb');
$config['dsn'] = str_replace('data/odbc.mdb', TEMP_DIR . '/odbc.mdb', $config['dsn']);
}
try {
new DibiConnection($config);
} catch (DibiNotSupportedException $e) {