Unit test a IHttpClientFactory call with a mock

后端 未结 0 1150
灰色年华
灰色年华 2021-02-13 19:49

I need to unit test an IHttpClientFactory call with the GetAsync call. However I can\'t work out how I can mock the repo, unless I put the actual Url. Here is my code

<         


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