Skip to content

Commit

Permalink
Fix Issue #3
Browse files Browse the repository at this point in the history
removed Debug and System.out.print commands
  • Loading branch information
geez14 committed Jan 14, 2025
1 parent a2050ca commit 9488abe
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import com.geez14.app.entities.CashCard;
import com.geez14.app.repo.CashCardRepository;
import com.geez14.app.util.Debug;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;
Expand Down
1 change: 0 additions & 1 deletion src/test/java/com/geez14/app/CashCardApplicationTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ void shouldUpdateACashCard() {
Assertions.assertThat(response.getStatusCode()).isEqualTo(HttpStatus.NO_CONTENT);

ResponseEntity<String> getResponse = restTemplate.withBasicAuth("Mxtylish", "password1234").exchange("/cashcards/99", HttpMethod.GET, null, String.class);
Debug.log("checking the getResponse after updating", getResponse.getBody());
Assertions.assertThat(getResponse.getStatusCode()).isEqualTo(HttpStatus.OK);

DocumentContext documentContext = JsonPath.parse(getResponse.getBody());
Expand Down

0 comments on commit 9488abe

Please sign in to comment.