Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.3k
Documented simulating an authentication by manual token creation.#2468
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
wouterj commentedApr 5, 2013
Could you please atthe pull request format to your PR message? |
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.
just use:
:doc:`/cookbook/testing/http_authentication`
It will default to the heading of the document.
jakzal commentedApr 6, 2013
@wouterj done. Thanks! |
Documented simulating an authentication by manual token creation.
weaverryan commentedApr 17, 2013
Hi Jakub! Great entry! I've merged in with only very minor tweaks. Thanks! |
Even though there are better ways of doing the same thing (like alternative authentication strategy for test environment), we're getting lots of questions on how to properly authenticate a user in a functional test by creating a token manually (seesymfony/symfony#5161).