[php] Fix director upcall check
This resolves an issue uncovered by adding a _runme.php for testcase director_alternating.
This commit is contained in:
parent
87c2e7d71a
commit
7b929dce82
3 changed files with 18 additions and 11 deletions
11
Examples/test-suite/php/director_alternating_runme.php
Normal file
11
Examples/test-suite/php/director_alternating_runme.php
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
|
||||
require "tests.php";
|
||||
|
||||
check::functions(array('getBar','idFromGetBar'));
|
||||
check::classes(array('Foo','Bar','Baz','director_alternating'));
|
||||
// No new vars
|
||||
check::globals(array());
|
||||
|
||||
$id = director_alternating::getBar()->id();
|
||||
check::equal($id, director_alternating::idFromGetBar(), "idFromGetBar() failed");
|
||||
Loading…
Add table
Add a link
Reference in a new issue