diff --git a/src/test/java/nl/jqno/equalsverifier/integration/extended_contract/DontOverrideEqualsTest.java b/src/test/java/nl/jqno/equalsverifier/integration/extended_contract/DontOverrideEqualsTest.java index 941b7fc2b..68a84073b 100644 --- a/src/test/java/nl/jqno/equalsverifier/integration/extended_contract/DontOverrideEqualsTest.java +++ b/src/test/java/nl/jqno/equalsverifier/integration/extended_contract/DontOverrideEqualsTest.java @@ -40,7 +40,7 @@ public void succeed_whenEqualsIsInheritedButNotFromObject() { succeed_whenClassIsAnExceptionAndEqualsIsInheritedDirectlyFromObject_givenDetailMessageIsIgnored() { EqualsVerifier.forClass(SimpleException.class) .suppress(Warning.INHERITED_DIRECTLY_FROM_OBJECT) - .suppress(Warning.ALL_FIELDS_SHOULD_BE_USED) + .suppress(Warning.ALL_FIELDS_SHOULD_BE_USED, Warning.TRANSIENT_FIELDS) .verify(); }