Closed
Description
error when running phpunit test:
Call to a member function fromRequest() on a non-object in .../src/Simplex/Framework.php on line 29
resolved by adding
protected function getFrameworkForException($exception)
{
//...
$matcher
->expects($this->once())
->method('getContext')
->will($this->returnValue($this->getMock('Symfony\Component\Routing\RequestContext')))
;
based on old issue :
https://github.com/fabpot/Create-Your-Framework/issues/29