The following constructor parameters did not have matching fixture data

前端 未结 3 1957
感动是毒
感动是毒 2021-02-12 16:29

I\'m trying to test my controllers using xUnitbut getting the following error during execution of Customer Controller:

\"The following constr

3条回答
  •  南方客
    南方客 (楼主)
    2021-02-12 17:00

    Just new up CustomerController in the constructor, if you don't want to use any mocking framework.

提交回复
热议问题