]> granicus.if.org Git - php/commitdiff
Fixed tests from being always skipped.
authorIlia Alshanetsky <iliaa@php.net>
Mon, 31 Jul 2006 20:14:40 +0000 (20:14 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Mon, 31 Jul 2006 20:14:40 +0000 (20:14 +0000)
ext/pdo_mysql/tests/bug_33689.phpt
ext/pdo_mysql/tests/common.phpt
ext/pdo_mysql/tests/last_insert_id.phpt
ext/pdo_mysql/tests/pecl_bug_5200.phpt
ext/pdo_mysql/tests/pecl_bug_5780.phpt
ext/pdo_mysql/tests/pecl_bug_5802.phpt
ext/pdo_mysql/tests/show_tables.phpt

index 609e3dce54be7f4cbddbb7174fccd5bce61f8746..bd0a40904a107ca0d2b90167b6bc774cb17277a9 100644 (file)
@@ -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');
 
index 8179454cf76d1370812a2f097717c581231a117b..1d11e0f7e7759b70facf28ae013f482f10bc8f79 100644 (file)
@@ -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;
index d20f1a71af1a5567a2a31d37e95786569f90ab50..d48ba149925594ff6b761160ae9880fd05fd1d50 100644 (file)
@@ -4,7 +4,8 @@ PDO MySQL auto_increment / last insert id
 <?php
 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';
+require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc';
+$db = PDOTest::test_factory(dirname(__FILE__) . '/common.phpt');
 PDOTest::skip();
 ?>
 --FILE--
index 2dffd1141fff4999a9a9849d2cc08cb3ba540d22..639a640c8a410b1dc0a1dbbeec5308290997c7f4 100644 (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--
index 643597c0166aa328d047d798edfd01cd43a57d9b..ef94db13cc02b417bf50f5439c8b6d2f02609548 100644 (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--
index 70bd4616359989808a6181940bc88df7139dc602..f154dd13a975c471f8e8a556d8e0392973272362 100644 (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--
index 90b07db32e8f67daa15818dea246a0ebe7b670d7..97dfe686e76e39b942673c1f44feec3bb2c13732 100644 (file)
@@ -4,7 +4,8 @@ PDO MySQL SHOW TABLES
 <?php
 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';
+require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc';
+$db = PDOTest::test_factory(dirname(__FILE__) . '/common.phpt');
 PDOTest::skip();
 ?>
 --FILE--