Fixing PHPUnit failure does not let the build fail

The property was checked in a wrong way so that the build
always succeeded even if PHPUnit failed.