Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfowl committed Jul 15, 2023
1 parent 77959e2 commit 1ee5f48
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions TodoApi.Tests/TodoApiTests.cs
Expand Up @@ -239,9 +239,9 @@ public async Task CanUpdateOwnedTodos()
Assert.NotNull(todos);

var todo = Assert.Single(todos);

//update the status
todo.IsComplete= true;
todo.IsComplete = true;

var response = await client.PutAsJsonAsync($"todos/{todo.Id}", todo);

Expand Down Expand Up @@ -291,7 +291,7 @@ public async Task AdminCanUpdateUnownedTodos()
Assert.Equal(HttpStatusCode.OK, response.StatusCode);

// Verify the changes
todos = await client.GetFromJsonAsync<List<TodoItem>>("/todos");
todos = await client.GetFromJsonAsync<List<TodoItem>>("/todos");
Assert.NotNull(todos);
var updatedTodo = Assert.Single(todos);
Assert.NotNull(updatedTodo);
Expand Down

0 comments on commit 1ee5f48

Please sign in to comment.