There were "dead" assertions in tests which were never checked. The code after
$this->setExpectedException('CFileException');
throw new CFileException('');
is never executed. Tests with several "setExpectedException" should be split to work as expected with PHPUnit (at least with version 3.6.10).
There were 35 assertions before the commit. There are 39 assertions after the commit. By the way there are other "dead" tests assertions in the code which are not fixed yet since I am not sure if this is a real issue or I am missing something.
I am sorry but "testSetOwner_001" and "testSetOwner_002" fail on my Debian 7 x64 machine.
There were "dead" assertions in tests which were never checked. The code after
is never executed. Tests with several "setExpectedException" should be split to work as expected with PHPUnit (at least with version 3.6.10).
There were 35 assertions before the commit. There are 39 assertions after the commit. By the way there are other "dead" tests assertions in the code which are not fixed yet since I am not sure if this is a real issue or I am missing something.
I am sorry but "testSetOwner_001" and "testSetOwner_002" fail on my Debian 7 x64 machine.