1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-31 01:39:46 +02:00

tests: improved ini quering, removed duplicated tests

This commit is contained in:
David Grudl
2015-11-04 14:36:38 +01:00
parent 6730fb4633
commit 5aab1ff023
17 changed files with 28 additions and 240 deletions

View File

@@ -1,17 +1,13 @@
<?php
/**
* @dataProvider ../databases.ini
* @dataProvider? ../databases.ini postgre
*/
use Tester\Assert;
require __DIR__ . '/bootstrap.php';
if ($config['system'] !== 'postgre') {
Tester\Environment::skip("Not supported system '$config[system]'.");
}
$tests = function ($conn) {
Assert::false($conn->query("SELECT 'AAxBB' LIKE %~like~", 'A_B')->fetchSingle());