This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit 8ad4d3af authored by Daniel Rainer's avatar Daniel Rainer
Browse files

Fix test by removing deleted fields

parent 37dd3398
2 merge requests!188Merging Peer Reviewing et. al to Master,!164211 peer reviewing functionality
...@@ -16,8 +16,8 @@ public class SearchResultDTOTest { ...@@ -16,8 +16,8 @@ public class SearchResultDTOTest {
propertiesTester.testProperties(SearchResultDTO.class); propertiesTester.testProperties(SearchResultDTO.class);
SearchResultDTO testSR = new SearchResultDTO(); SearchResultDTO testSR = new SearchResultDTO();
SearchResultDTO testSRclone = new SearchResultDTO(testSR); SearchResultDTO testSRclone = new SearchResultDTO(testSR);
Assert.assertEquals("clone should be equas", testSR, testSRclone); Assert.assertEquals("clone should be equal", testSR, testSRclone);
EqualsVerifier.forClass(SearchResultDTO.class).suppress(Warning.NONFINAL_FIELDS) EqualsVerifier.forClass(SearchResultDTO.class).suppress(Warning.NONFINAL_FIELDS)
.withIgnoredFields("ranking5", "supportedActions", "views", "downloads").verify(); .withIgnoredFields("ranking5", "supportedActions").verify();
} }
} }
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment