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
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
-
In an acceptance test, I'm trying to assert that a controller sets a cookie with a particular value.
I can check that the cookie is set with
seeCookie
but how can I check the value?Documentation says:
so I tried
$I->seeCookie('foo', ['value' => 'notbar']);
but it does not make the assert fail.What is the correct way to assert cookie value?
Beta Was this translation helpful? Give feedback.
All reactions