[TYPO3-v4] [TYPO3-core] RFC #15457: Add support for prepared queries [summary and pending questions]
Xavier Perseguers
typo3 at perseguers.ch
Sun Aug 22 22:57:23 CEST 2010
Hi Helmut,
> followup of this discussion set to typo3.projects.v4
>
> On 22.08.10 17:21, Xavier Perseguers wrote:
>> I really like those unit tests. However this setup test fails on my
>> computer:
>>
>> $this->assertTrue($this->setUpAndReturnDatabaseStub() instanceof
>> PHPUnit_Framework_MockObject_MockObject);
>>
>> Do you know why?
>
> Not exactly.
> What version of phpunit are you using?
PHPUnit 3.3.9
> What instance do you get back from $this->setUpAndReturnDatabaseStub()?
Mock_t3lib_DB_bca224f4
> But since this is really not important what exatly the instance of the
> mock object is, we could also skip this test. My intention was only to
> be sure, not to use the original DB object for the tests.
It's a mock, that's fine.
Xavier
More information about the TYPO3-project-v4
mailing list