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
now it fails with the with the first assersion assertSessionHas('flash-class', 'success') and the error message
Failed asserting that two strings are equal.
Expected :'success'
Actual :'danger'
It would be pretty cool if we could aggregate the messages from one expectation.
What I would have liked.
Failed asserting that two strings are equal.
Expected :'Oppdateringen ble lagret'
Actual :'Du har ikke tilgang til å endre status på denne oppgaven.'
Failed asserting that two strings are equal.
Expected :'success'
Actual :'danger'
Expected response status code [201, 301, 302, 303, 307, 308] but received 500.
Failed asserting that false is true.
Is this possible? anybody else have some tricks here?
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
Uh oh!
There was an error while loading. Please reload this page.
-
I have the following test
now it fails with the with the first assersion
assertSessionHas('flash-class', 'success')and the error messageIt would be pretty cool if we could aggregate the messages from one expectation.
What I would have liked.
Is this possible? anybody else have some tricks here?
Beta Was this translation helpful? Give feedback.
All reactions