Last modified: 2011-10-28 13:02:06 UTC
When SearchDbTest is not run as first test (by running all tests, or for example --filter "/^[RS].*/"), it crashes because SearchEngine::searchText returns null. When it is run as first test (phpunit SearchDbTest), it runs the tests normally. I am using SQLite.
I can not reproduce this issue, it most probably got resolved since april 2010 :-) Test plan: $ ./phpunit.php --filter "/^[RS].*/" PHPUnit 3.5.15 by Sebastian Bergmann. ............................................................. 61 / 2315 ( 2%) ................................................ Time: 11 seconds, Memory: 86.25Mb OK (109 tests, 259 assertions) $ Note the SearchDbTest does not seem to exist anymore.