UnoSD / Moq.Dapper

Moq extensions for Dapper methods.
GNU General Public License v2.0
173 stars 78 forks source link

Added support for ExecuteAsync method. #87

Closed ajaysoni-cap closed 1 year ago

ajaysoni-cap commented 1 year ago
  1. Mock support for the ExecuteAsync method on the IDbConnection interface
  2. Upgraded packages to the latest version.
ajaysoni-cap commented 1 year ago

This pr will fix issue #86. @UnoSD - would you be able to review this, please?

UnoSD commented 1 year ago

This pr will fix issue #86. @UnoSD - would you be able to review this, please?

thank you for the PR @ajaysoni-cap ; the code style looks good, but the new test seems to be failing and the mock returns 0 instead of 1

image

ajaysoni-cap commented 1 year ago

Thanks for reviewing the PR. :) Apologies, the test wasn't calling the new async method. I've corrected the test now. @UnoSD Could you please review it when you get a chance? Thanks

UnoSD commented 1 year ago

All good @ajaysoni-cap; thank you. I will push to NuGet