Skip to content

Commit 08ddd4f

Browse files
committed
update dev dependencies to use real queries
1 parent 79a5a23 commit 08ddd4f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sample/src/NimblePros.SampleToDo.Infrastructure/InfrastructureServiceExtensions.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ private static void RegisterDevelopmentOnlyDependencies(IServiceCollection servi
4949
{
5050
AddDbContextWithSqlite(services, configuration);
5151
services.AddScoped<IEmailSender, SmtpEmailSender>();
52-
services.AddScoped<IListContributorsQueryService, FakeListContributorsQueryService>();
53-
services.AddScoped<IListIncompleteItemsQueryService, FakeListIncompleteItemsQueryService>();
54-
services.AddScoped<IListProjectsShallowQueryService, FakeListProjectsShallowQueryService>();
52+
services.AddScoped<IListContributorsQueryService, ListContributorsQueryService>();
53+
services.AddScoped<IListIncompleteItemsQueryService, ListIncompleteItemsQueryService>();
54+
services.AddScoped<IListProjectsShallowQueryService, ListProjectsShallowQueryService>();
5555
}
5656

5757
private static void RegisterTestingOnlyDependencies(IServiceCollection services)

sample/src/NimblePros.SampleToDo.Web/api.http

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ GET {{host}}:{{port}}/Projects
5050
###
5151

5252
// Get a specific project
53-
@id_to_get=1000
53+
@id_to_get=1
5454
GET {{host}}:{{port}}/Projects/{{id_to_get}}
5555

5656
###

0 commit comments

Comments
 (0)