diff --git a/Examples/test-suite/php/import_nomodule_runme.php b/Examples/test-suite/php/import_nomodule_runme.php index 2ebf7c9b2..a2cc815e4 100644 --- a/Examples/test-suite/php/import_nomodule_runme.php +++ b/Examples/test-suite/php/import_nomodule_runme.php @@ -2,11 +2,9 @@ require "tests.php"; require "import_nomodule.php"; -// No new functions check::functions(array('create_foo','delete_foo','test1','is_python_builtin')); -// No new classes -check::classes(array('import_nomodule','Bar')); -// now new vars +check::classes(array('import_nomodule')); +// No new globals check::globals(array()); // SWIGPHP doesn't currently support the "violation of the type system" which diff --git a/Examples/test-suite/php/tests.php b/Examples/test-suite/php/tests.php index 928b6f543..d9c3a8359 100644 --- a/Examples/test-suite/php/tests.php +++ b/Examples/test-suite/php/tests.php @@ -91,7 +91,6 @@ class check { } static function classmethods($classname,$methods) { - return TRUE; if (is_object($classname)) $classname=get_class($classname); $classmethods=array_flip(get_class_methods($classname)); $message=NULL; @@ -146,7 +145,6 @@ class check { } static function classes($classes) { - return TRUE; if (! is_array($classes)) $classes=array($classes); $message=array(); $missing=array();