Skip to content

Cannot mock ExecuteAsync for IDbConnection #80

@lzsantos

Description

@lzsantos

Hi Guys, very happy to know your project today, i'm facing a problem trying do use SetupDapperAsync for ExecuteAsync

i'm using dbconnection interface ( IDbConnection )

_sqlConnection = new Mock<IDbConnection>();

image

It Throws:

image

from here:
image

Should the framework handle ExecuteAsync?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions