Skip to content

Commit

Permalink
fix printStackTrace in wontFindBook
Browse files Browse the repository at this point in the history
  • Loading branch information
xorrr committed May 30, 2014
1 parent 8b901b1 commit 27fd2f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/spark/BooksIntegrationTest.java
Expand Up @@ -167,7 +167,7 @@ public void canDeleteBook() {
@Test
public void wontFindBook() {
try {
doMethod("GET", "/books/" + bookId, null);
getResponse("GET", "/books/" + bookId, null);
} catch (Exception e) {
if (e instanceof FileNotFoundException) {
assertTrue(true);
Expand Down

0 comments on commit 27fd2f2

Please sign in to comment.