diff --git a/src/main/java/org/usf/assertapi/test/JunitResponseComparator.java b/src/main/java/org/usf/assertapi/test/JunitResponseComparator.java index a98b36a..5c8e1fd 100644 --- a/src/main/java/org/usf/assertapi/test/JunitResponseComparator.java +++ b/src/main/java/org/usf/assertapi/test/JunitResponseComparator.java @@ -14,9 +14,9 @@ public final class JunitResponseComparator extends ResponseComparator { @Override - public void assertionFail(Throwable t) { + public void assertionFail(AssertionError err) { try { - super.assertionFail(t); + super.assertionFail(err); } catch(ApiAssertionError e) { if(e.isSkipped()) {