Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add tests -> penny is now 100% unit tested #71

Merged
merged 2 commits into from
Sep 30, 2015

Conversation

samsonasik
Copy link
Member

No description provided.

@samsonasik
Copy link
Member Author

screen shot 2015-09-30 at 5 16 59 am

]);

$dispatcher = new Dispatcher($router->reveal());
$dispatcher->dispatch($request);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this tests 500 Exception error

])->shouldBeCalled();

$dispatcher = new Dispatcher($router->reveal());
$dispatcher->dispatch($request);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this tests 500 Exception error, apply shouldBeCalled to MethodProphecy to prove it actually called.

gianarb pushed a commit that referenced this pull request Sep 30, 2015
add tests -> penny is now 100% unit tested
@gianarb gianarb merged commit f766643 into pennyphp:master Sep 30, 2015
@samsonasik samsonasik deleted the add-test branch September 30, 2015 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants