Skip to content

Commit

Permalink
equals for the win
Browse files Browse the repository at this point in the history
  • Loading branch information
eviltester committed Apr 5, 2024
1 parent c16d562 commit baee83b
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ void canGetFilteredTodos() {
api.createTodo("not done", "this todo is not done", false);
final Todo doneTodo = api.createTodo("done", "this todo is done", true);

//System.out.println("Looking to find todo " + doneTodo.id);

Todos todosList = RestAssured.
given().
header("X-CHALLENGER", xChallenger).
Expand All @@ -41,7 +39,6 @@ void canGetFilteredTodos() {
boolean foundOurTodo = false;
boolean foundAllTrue = true;
for (Todo todo : todosList.todos) {
//System.out.println("scanning Todos - " + todo.id);
if (todo.id.equals(doneTodo.id)) {
foundOurTodo = true;
}
Expand Down

0 comments on commit baee83b

Please sign in to comment.