Skip to content

Commit

Permalink
update dev dependencies to use real queries
Browse files Browse the repository at this point in the history
  • Loading branch information
ardalis committed Nov 14, 2024
1 parent 79a5a23 commit 08ddd4f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ private static void RegisterDevelopmentOnlyDependencies(IServiceCollection servi
{
AddDbContextWithSqlite(services, configuration);
services.AddScoped<IEmailSender, SmtpEmailSender>();
services.AddScoped<IListContributorsQueryService, FakeListContributorsQueryService>();
services.AddScoped<IListIncompleteItemsQueryService, FakeListIncompleteItemsQueryService>();
services.AddScoped<IListProjectsShallowQueryService, FakeListProjectsShallowQueryService>();
services.AddScoped<IListContributorsQueryService, ListContributorsQueryService>();
services.AddScoped<IListIncompleteItemsQueryService, ListIncompleteItemsQueryService>();
services.AddScoped<IListProjectsShallowQueryService, ListProjectsShallowQueryService>();
}

private static void RegisterTestingOnlyDependencies(IServiceCollection services)
Expand Down
2 changes: 1 addition & 1 deletion sample/src/NimblePros.SampleToDo.Web/api.http
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ GET {{host}}:{{port}}/Projects
###

// Get a specific project
@id_to_get=1000
@id_to_get=1
GET {{host}}:{{port}}/Projects/{{id_to_get}}

###
Expand Down

0 comments on commit 08ddd4f

Please sign in to comment.