Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Ander Peñalba2015-03-12 12:23:53 +0000
committerMatthias Sohn2015-03-12 20:47:08 +0000
commitd1d5d162eff483a234c1f9706fd31468f5c9f98b (patch)
tree851f8b22aadfc456b6b3e383d31c2ac1d4ebc3c6 /org.eclipse.egit.github.core.tests
parent25724ff0dfa9ff7adec2c4b428c9e2809b881f6d (diff)
downloadegit-github-d1d5d162eff483a234c1f9706fd31468f5c9f98b.tar.gz
egit-github-d1d5d162eff483a234c1f9706fd31468f5c9f98b.tar.xz
egit-github-d1d5d162eff483a234c1f9706fd31468f5c9f98b.zip
Added `bio` field to the User class
Change-Id: I35adb34f447cb99267f0cacfe90297ae74ad8710 Signed-off-by: Jon Ander Peñalba <jonan88@gmail.com> Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.egit.github.core.tests')
-rw-r--r--org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/UserTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/UserTest.java b/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/UserTest.java
index bf88b47f..775a86f0 100644
--- a/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/UserTest.java
+++ b/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/UserTest.java
@@ -56,6 +56,7 @@ public class UserTest {
assertNull(user.getType());
assertNull(user.getUrl());
assertFalse(user.isHireable());
+ assertNull(user.getBio());
}
/**
@@ -90,5 +91,6 @@ public class UserTest {
assertEquals("reg", user.setType("reg").getType());
assertEquals("url", user.setUrl("url").getUrl());
assertTrue(user.setHireable(true).isHireable());
+ assertEquals("bio", user.setBio("bio").getBio());
}
}

Back to the top