Skip to content

Commit

Permalink
fix tests again
Browse files Browse the repository at this point in the history
  • Loading branch information
shelajev committed Oct 29, 2024
1 parent e6fb740 commit 0e6187f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/com/atomicjar/todos/ApplicationTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ void listAllTodos() {
.get("/todos")
.then()
.statusCode(200)
.body(".", hasSize(3));
.body(".", hasSize(4));

todoRepository.deleteAll();
}
Expand All @@ -80,7 +80,7 @@ void getByIDFindsId() {
.get("/todos/" + feedAllHorses.getId())
.then()
.statusCode(200)
.body("title", equalTo("Free all horses"));
.body("title", equalTo("Feed all horses"));


todoRepository.deleteAll();
Expand Down

0 comments on commit 0e6187f

Please sign in to comment.