List:Commits« Previous MessageNext Message »
From:uwendel Date:July 10 2007 12:46pm
Subject:PHP mysqlnd svn commit: r693 - trunk/tests/ext/mysqli
View as plain text  
Author: uwendel
Date: 2007-07-10 14:46:47 +0200 (Tue, 10 Jul 2007)
New Revision: 693

Modified:
   trunk/tests/ext/mysqli/mysqli_class_mysqli_stmt_interface.phpt
Log:
Same portability fix...


Modified: trunk/tests/ext/mysqli/mysqli_class_mysqli_stmt_interface.phpt
===================================================================
--- trunk/tests/ext/mysqli/mysqli_class_mysqli_stmt_interface.phpt	2007-07-10 12:45:49 UTC
(rev 692)
+++ trunk/tests/ext/mysqli/mysqli_class_mysqli_stmt_interface.phpt	2007-07-10 12:46:47 UTC
(rev 693)
@@ -46,6 +46,11 @@
             unset($methods[$k]);
             unset($expected_methods[$method]);          
         }
+        if ($method == 'mysqli_stmt') {
+            // get_class_method reports different constructor names
+            unset($expected_methods['__construct']);
+            unset($methods[$k]);
+        }
     }
     if (!empty($methods)) {
         printf("More methods found than indicated. Dumping list of unexpected
methods.\n");

Thread
PHP mysqlnd svn commit: r693 - trunk/tests/ext/mysqliuwendel10 Jul