GianniErrera's avatar

How to check Fortify two factors authentication

I would like to test Fortify authentication, specifically I would like to test wether two factors authentication is working correctly, but I can't think of any way to do it.

I would like also to check whether reset password and other Fortify routes are working as well.

Is there anything I can do?

0 likes
2 replies
GianniErrera's avatar

@Amaury We've added two factors authentication to a website and I was asked to write some tests for the new feature; in fact from my experience even simple tests that check if a get route returns a 200 code can be useful as migrating to a new PHP version or changing a line in a controller can cause fatal errors.

Thank for your reply, I'll have a look and check those test out.

1 like

Please or to participate in this conversation.