When testing REST api i get a 200OK when i should get 403

前端 未结 0 1602
挽巷
挽巷 2021-02-18 15:51

I\'m writing some tests for my rest API and this is the controller I\'m using this post:

@PostMapping
    public ResponseEntity add(@RequestBody @Valid P         


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