|
From: Manuel V. <man...@gm...> - 2010-04-30 11:48:36
|
On Fri, Apr 30, 2010 at 12:03 PM, Marcus Baker <ma...@la...> wrote:
> Hi...
>
> Manuel Vacelet wrote:
>> Any chance to get it fixed ?
>
> I need to replicate it first. What version of everything are you running?
I'm unfortunately stuck to PHP 5.1.6 (RHEL5 looser) but I have the
same issue with PHP 5.2.9
I ran my test with revision 1995 of simple test.
I think the other component doesn't really matters, do they ?
BTW, it seems related to PDO mocking (or at least some of the PDO
specificities because following code works:
<?php
require_once 'simpletest/autorun.php';
class A {
}
Mock::generate('A');
class MyOwnTest {
public function setPdo(A $dbh) {
}
}
class ForgeUpgradeTest extends UnitTestCase {
function testMyOwnTest() {
$pdo = new MockA($this);
$test = new MyOwnTest();
$test->setPdo($pdo);
}
}
?>
|