Closed tnc1997 closed 9 months ago
Describe the change This change adds a configuration setting repository which abstracts the Entity Framework Core database context.
Current behavior The handlers depend on the database context which makes testing more difficult.
New behavior The handlers depend on the configuration setting repository interface which allows for mocking.
Additional context Choosing a testing strategy - Repository pattern
Describe the change This change adds a configuration setting repository which abstracts the Entity Framework Core database context.
Current behavior The handlers depend on the database context which makes testing more difficult.
New behavior The handlers depend on the configuration setting repository interface which allows for mocking.
Additional context Choosing a testing strategy - Repository pattern