You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're in the process of switching a medium sized app to Pest but I'm struggling with some of our tests. For example, we have the following test in PHPUnit:
There doesn't seem to be an option in Pest to follow redirects if we use the post()-method. It's a bit unclear for me what the recommended way to do this is.
We can of course stick to the PHPUnit test, but that doesn't feel right somehow. What is the best way to approach this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We're in the process of switching a medium sized app to Pest but I'm struggling with some of our tests. For example, we have the following test in PHPUnit:
There doesn't seem to be an option in Pest to follow redirects if we use the
post()
-method. It's a bit unclear for me what the recommended way to do this is.We can of course stick to the PHPUnit test, but that doesn't feel right somehow. What is the best way to approach this?
Beta Was this translation helpful? Give feedback.
All reactions