[TYPO3-dev] Unit test failing on travis-ci but not locally
Dirk Wenzel
wenzel at webfox03.de
Sat Jul 26 17:32:45 CEST 2014
Hi all,
all tests for one of my classes do fail on travis-ci with:
Fatal error: Call to undefined method
Mock_Geocoder_e8ac39a2::updateGeoLocation() in
/home/travis/build/dwenzel/typo3conf/ext/placements/Tests/Unit/Utility/GeocoderTest.php
on line 211
They run smooth in my local VM both from command line and in BE.
I also changed the base class from
\TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase to
\TYPO3\CMS\Core\Tests\UnitTestCase with the same result.
All other test do run on travis-ci.
Here is the code of the failing test:
https://github.com/dwenzel/placements/blob/0ef93764fa13b209d8573cc5aafe47f29c5da79e/Tests/Unit/Utility/GeocoderTest.php
and of the tested class:
https://github.com/dwenzel/placements/blob/0ef93764fa13b209d8573cc5aafe47f29c5da79e/Classes/Utility/Geocoder.php
travis-ci output can be seen here:
https://travis-ci.org/dwenzel/placements/jobs/30915693
Thank you for any hint.
Cheers
Dirk
More information about the TYPO3-dev
mailing list