...mponent. Made some refactoring and micro optimizations. Fixed some coding conventions violations. Fix PHPDoc.
[Generator] [Model] added high unit test coverage for Generator\Model…
… component. Made some refactoring and micro optimizations. Fixed some coding conventions violations. Fix PHPDoc.
This pull request passes (merged 268f44d into 428dfdd).
Good to go!
@hhamon something seems wrong actually: http://ci.propelorm.org/job/Propel2/148/console
yep I saw that... That's weird because Travis says it's ok and on my machine I have the same result as Travis.
I'm digging into it.
@willdurand is it possible to force a new Jenkins run for this commit?
I can't see why it fails. My opinion is that the PHPUnit version running on the Jenkins server is outdated. It's PHPUnit 3.6.3... Can you upgrade PHPUnit to the latest and run the build once again please?
This is very strange that it works with Travis and my configuration (Sismo), both are on PHPUnit 3.6.10.
This is the main difference with your Jenkins installation. I can eventually try to run the test suite on a Jenkins instance on my machine with a PHPUnit 3.6.10 and then test it against a PHPUnit 3.6.3. The two broken tests that are both failing on a mock expectation. I assume that it's a bug in PHPUnit 3.6.3 with the mocking API.
Anyway I will download a PHPUnit 3.6.3 and run the test suite against it. I will let you know asap.
So, running PHPUnit 3.6.3 on my machine does not fail... What's the PHP version of the Jenkins server?