How to test an insert with MockMvc? Assert expecting 201, but I get 409

后端 未结 0 760
南旧
南旧 2020-12-29 23:13

I am pretty new at tests written for MVC apps, and I am trying to create a simple test for inserting an user in the database.

I am making use of the following classes

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