nnarhinen/PHPCouch — comment on commit ce65f293924437e13f88fc1a31c45e2538393f78
File: tests/Phpcouch/Record/DatabaseTest.php line 37
By nnarhinen:

This workaround resolves the issue when running the testsuite on debian.

I discussed this on #phpunit with Sebastian & Co and they said it is because get_class_methods('phpcouch\connection\Connection') returns an empty array. This most likely is because Connection was mocked earlier without phpunit finding the actual implementation. I'm not completely convinced this isn't a phpunit/php issue, but I don't feel like digging deeper, when this workaround works.

(BTW, the actual issue was that on debian the mock didn't have any methods so I (and in travis-ci) got "call to undefined method")