[TYPO3-media] FAL Unit Test - vfsStream issue
Fabien Udriot
fabien.udriot at ecodev.ch
Fri Dec 9 10:29:55 CET 2011
Hi (Andreas)
I just run the Unit Test against FAL and noticed some wrong test due to some vfsStream
incompatibility (as it looks like). Steps to reproduce:
In the PHP Unit module, take: TYPO3 > t3lib_file_BaseTestCase and run the tests.
which gives me the following message:
Fatal error: Call to undefined method vfsStream::create() in
/Users/fudriot/Sites/t3core/typo3_src-incubator/tests/t3lib/file/BaseTestCase.php on line 62
Don't know what version there is in EXT:phpunit but it seems the version is obsolete if I believe
such post: http://stubbles.org/archives/99-vfsStream-0.11.0-released.html
Quote: "Unfortunately this introduces a BC break to the vfsStream::create() method introduced with
0.10.0"
Another old post: http://stubbles.org/archives/39-vfsStream-0.3.0-and-good-bye-SimpleTest.html
Quote: "I made some API changes. I dropped vfsStreamDirectory::ceate() in favor of
vfsStream::newDirectory() "
I believe you made the Unit Test work. How did you do?
Cheers,
Fabien
More information about the TYPO3-project-media
mailing list