Hello,
I have issue with Xunit in .Net core testing. I can't make mocking of my method GetBudgetByUser() it returns 0. I have tried all possible solutions but never found solution and I sit in stuck.
[Fact]
public async Task GetBudgetsByUser_ReturnsBudgets_WhenBudgetsFound()
{
// Arrange...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.