Yes
I noticed that all the DbSet inside context that came with the solutions and the one's i created doesn't pull data using the repository. This happens when I run the tests. I can able to render the data in the UI when run the website on the browser.
I'm not sure what I missing to make my test work. This is blocking my test driven development at this time.
Any help is highly appreciated.
Thanks
Update:
I'm able to get the data from Controller -> App Service -> Repository with no issues.
I'm unable to get the data from Test -> App Service -> Repository.
_customerAppService = Resolve<ICustomerAppService>();
The above is what I think causing the problem. Let me know how can I resolve this.
I'm using MVC and Jquery version. I'm not getting any error message, but my test fails due to the fact the repository is not pulling the data from the table that I mentioned. When I used DbContext to pull records from that table it works fine. Not sure what I'm missing. Your immediate help is highly appreciated.
Thanks, Rajesh