Answer the question
In order to leave comments, you need to log in
Is it possible in Symfony 3 when creating a test in Codeception to authorize a user, create a session?
I need to make an api test of the method, in which the user's rights are checked before the actions, could I somehow authorize in the test? My site uses sessions.
Answer the question
In order to leave comments, you need to log in
You can make a fake authenticator
Symfony\Component\Security\Guard\AuthenticatorInterface
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question