Skip to content

Unit Test Case SqlDistributedLock Mocking ConnectionString #21

Closed
@karthik6244

Description

@karthik6244

For one of my requirement I'm using SqlDistributedLock() passing lockName, ConnectionString. Its working fine. However I want to write unit testcase for this behavior, how can i mock the connectionString, It's failing there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions