diff --git a/fundamentals/minimal-apis/samples/MinApiTestsSample/UnitTests/TodoInMemoryTests.cs b/fundamentals/minimal-apis/samples/MinApiTestsSample/UnitTests/TodoInMemoryTests.cs index 67268e9..c4e55b3 100644 --- a/fundamentals/minimal-apis/samples/MinApiTestsSample/UnitTests/TodoInMemoryTests.cs +++ b/fundamentals/minimal-apis/samples/MinApiTestsSample/UnitTests/TodoInMemoryTests.cs @@ -26,6 +26,7 @@ public class TodoInMemoryTests } // + // [Fact] public async Task GetAllReturnsTodosFromDatabase() { @@ -72,6 +73,7 @@ public class TodoInMemoryTests Assert.True(todo2.IsDone); }); } + // // [Fact] diff --git a/fundamentals/minimal-apis/samples/MinApiTestsSample/WebMinRouteGroup/TodoEndpointsV1.cs b/fundamentals/minimal-apis/samples/MinApiTestsSample/WebMinRouteGroup/TodoEndpointsV1.cs index 6b29daa..b478cf0 100644 --- a/fundamentals/minimal-apis/samples/MinApiTestsSample/WebMinRouteGroup/TodoEndpointsV1.cs +++ b/fundamentals/minimal-apis/samples/MinApiTestsSample/WebMinRouteGroup/TodoEndpointsV1.cs @@ -32,11 +32,13 @@ public static class TodoEndpointsV1 } // get all todos + // public static async Task GetAllTodos(TodoGroupDbContext database) { var todos = await database.Todos.ToListAsync(); return TypedResults.Ok(todos); } + // // get todo by id public static async Task, NotFound>> GetTodo(int id, TodoGroupDbContext database)