mirror of
https://github.com/php/php-src.git
synced 2024-12-11 10:54:47 +08:00
Fixed tests from being always skipped.
This commit is contained in:
parent
1354aa9ef4
commit
624e5f83c8
@ -5,10 +5,12 @@ PDO MySQL Bug #33689
|
||||
if (!extension_loaded('pdo') || !extension_loaded('pdo_mysql')) die('skip not loaded');
|
||||
require dirname(__FILE__) . '/config.inc';
|
||||
require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc';
|
||||
$db = PDOTest::test_factory(dirname(__FILE__) . '/common.phpt');
|
||||
PDOTest::skip();
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
require dirname(__FILE__) . '/config.inc';
|
||||
require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc';
|
||||
$db = PDOTest::test_factory(dirname(__FILE__) . '/common.phpt');
|
||||
|
||||
|
@ -22,7 +22,7 @@ if (false !== getenv('PDO_MYSQL_TEST_DSN')) {
|
||||
} else {
|
||||
$config['ENV']['PDOTEST_DSN'] = 'mysql:host=localhost;dbname=test';
|
||||
$config['ENV']['PDOTEST_USER'] = 'root';
|
||||
$config['ENV']['PDOTEST_PASS'] = '';
|
||||
$config['ENV']['PDOTEST_PASS'] = 'asukasmysql';
|
||||
}
|
||||
|
||||
return $config;
|
||||
|
@ -5,6 +5,7 @@ PDO MySQL auto_increment / last insert id
|
||||
if (!extension_loaded('pdo') || !extension_loaded('pdo_mysql')) die('skip not loaded');
|
||||
require dirname(__FILE__) . '/config.inc';
|
||||
require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc';
|
||||
$db = PDOTest::test_factory(dirname(__FILE__) . '/common.phpt');
|
||||
PDOTest::skip();
|
||||
?>
|
||||
--FILE--
|
||||
|
@ -5,6 +5,7 @@ PDO MySQL PECL Bug #5200
|
||||
if (!extension_loaded('pdo') || !extension_loaded('pdo_mysql')) die('skip not loaded');
|
||||
require dirname(__FILE__) . '/config.inc';
|
||||
require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc';
|
||||
$db = PDOTest::test_factory(dirname(__FILE__) . '/common.phpt');
|
||||
PDOTest::skip();
|
||||
?>
|
||||
--FILE--
|
||||
|
@ -5,6 +5,7 @@ PDO MySQL PECL Bug #5780
|
||||
if (!extension_loaded('pdo') || !extension_loaded('pdo_mysql')) die('skip not loaded');
|
||||
require dirname(__FILE__) . '/config.inc';
|
||||
require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc';
|
||||
$db = PDOTest::test_factory(dirname(__FILE__) . '/common.phpt');
|
||||
PDOTest::skip();
|
||||
?>
|
||||
--FILE--
|
||||
|
@ -5,6 +5,7 @@ PDO MySQL PECL Bug #5802
|
||||
if (!extension_loaded('pdo') || !extension_loaded('pdo_mysql')) die('skip not loaded');
|
||||
require dirname(__FILE__) . '/config.inc';
|
||||
require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc';
|
||||
$db = PDOTest::test_factory(dirname(__FILE__) . '/common.phpt');
|
||||
PDOTest::skip();
|
||||
?>
|
||||
--FILE--
|
||||
|
@ -5,6 +5,7 @@ PDO MySQL SHOW TABLES
|
||||
if (!extension_loaded('pdo') || !extension_loaded('pdo_mysql')) die('skip not loaded');
|
||||
require dirname(__FILE__) . '/config.inc';
|
||||
require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc';
|
||||
$db = PDOTest::test_factory(dirname(__FILE__) . '/common.phpt');
|
||||
PDOTest::skip();
|
||||
?>
|
||||
--FILE--
|
||||
|
Loading…
Reference in New Issue
Block a user