sebastianbergmann/phpunit-selenium — Issue #63: Fatal errors due to updating of method names
Author: jellysandwich
Created: 2011-10-16 04:16:56+00:00
State: open

I've installed the latest PHPUnit from git and have been trying to set up selenium. I've come across this error:

Fatal error: Call to undefined method PHPUnit_Util_Type::toString() in D:\programs\xampp\php\phpunit\phpunit-selenium\PHPUnit\Extensions\SeleniumTestCase\Driver.php on line 984

I've discovered that this is because the method name was changed. According to this, it was change from toString() to export().

https://github.com/2bepublished/phpunit/commit/c78671bc4ef1c51f86a8fdc744c4420ac32e44d6

This seems to occur with other functions as well, but I do not have the time to go through this at the moment.

Fatal error: Call to undefined method PHPUnit_Framework_ExpectationFailedException::getCustomMessage()