-
-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FindAsync is not working properly #33
Comments
@risogolo thanks for the issue. I'm not sure that |
Im sorry it still does not work on my side
|
@risogolo instead of Not sure if the line will work:
|
My intention was to mock data in DbSet, not FindAsync method, I expected that FindAsync will return the data from mocked DbSet. Anyway, so the first suggestion to return |
but this works
but this is not
|
If you can provide full code, I'll help you more. but looks like the issue is not related to the project. |
@risogolo
I have added a unit test for |
I saw it, similar has been discussed already, but it does still not work on my end
I have
and I would expect once I mock context Country that FindAsync method should return item with id:1
The text was updated successfully, but these errors were encountered: