-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
hasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.
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
Metadata
Metadata
Assignees
Labels
hasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.