1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-31 17:51:43 +02:00

tests: improved ini quering

This commit is contained in:
David Grudl
2015-11-04 14:36:38 +01:00
parent fef3eccc61
commit 120f0946e0
7 changed files with 21 additions and 34 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());