-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Fixed tests #109
Fixed tests #109
Conversation
@@ -26,7 +26,7 @@ | |||
{{ 'action.show'|trans }} | |||
</a> | |||
|
|||
{% if post.isAuthor(app.user) %} | |||
{% if app.user and post.isAuthor(app.user) %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't it required to be authenticated to access the admin section ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not needed. I've removed it. Thanks.
I've refactored some backend controllers (https://github.com/javiereguiluz/symfony-demo/commit/1cae0a24328f81980f03c7abcbdf9115f4f3f42b) to fix tests while maintaining the |
Great work! 👍 |
This fixes functional tests in preparation of Travis activation.