Skip to content

Commit

Permalink
more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
auumgn committed Nov 21, 2024
1 parent 8b205f8 commit 678c749
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public void testGetPersonDetails() {

assertNotNull(person.getEmails());
assertNotNull(person.getEmails().getEmails());
assertEquals(4, person.getEmails().getEmails().size());
assertEquals(5, person.getEmails().getEmails().size());

for (Email email : person.getEmails().getEmails()) {
assertTrue(email.isVerified());
Expand Down Expand Up @@ -125,8 +125,9 @@ public void testGetPublicPersonDetails() {

assertNotNull(person.getEmails());
assertNotNull(person.getEmails().getEmails());
assertEquals(1, person.getEmails().getEmails().size());
assertEquals(2, person.getEmails().getEmails().size());
assertEquals("[email protected]", person.getEmails().getEmails().get(0).getEmail());
assertEquals("[email protected]", person.getEmails().getEmails().get(1).getEmail());

assertNotNull(person.getBiography());
assertEquals(Visibility.PUBLIC, person.getBiography().getVisibility());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,9 @@ public void testGetPublicRecord() {

assertNotNull(person.getEmails());
assertNotNull(person.getEmails().getEmails());
assertEquals(1, person.getEmails().getEmails().size());
assertEquals(2, person.getEmails().getEmails().size());
assertEquals("[email protected]", person.getEmails().getEmails().get(0).getEmail());
assertEquals("[email protected]", person.getEmails().getEmails().get(1).getEmail());

assertNotNull(person.getBiography());
assertEquals(Visibility.PUBLIC, person.getBiography().getVisibility());
Expand Down

0 comments on commit 678c749

Please sign in to comment.