In Laravel, why do I use assertSessionHasErrors() in order to check if there was an error?

后端 未结 0 931
余生分开走
余生分开走 2020-12-05 06:10

In Laravel, why do I use assertSessionHasErrors() in order to check if there was an error? I used this in my feature testing to make sure there is a validation error and it

相关标签:
回答
  • 消灭零回复
提交回复
热议问题