File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/test/java/org/kohsuke/github Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -14,17 +14,17 @@ public class UserTest extends AbstractGitHubApiTestBase {
1414 public void listFollowsAndFollowers () throws IOException {
1515 GHUser u = gitHub .getUser ("rtyler" );
1616 assertNotEquals (
17- count50 (u .listFollowers ()),
18- count50 (u .listFollows ()));
17+ count30 (u .listFollowers ()),
18+ count30 (u .listFollows ()));
1919 }
2020
21- private Set <GHUser > count50 (PagedIterable <GHUser > l ) {
21+ private Set <GHUser > count30 (PagedIterable <GHUser > l ) {
2222 Set <GHUser > users = new HashSet <GHUser >();
2323 PagedIterator <GHUser > itr = l .iterator ();
24- for (int i =0 ; i <50 && itr .hasNext (); i ++) {
24+ for (int i =0 ; i <30 && itr .hasNext (); i ++) {
2525 users .add (itr .next ());
2626 }
27- assertEquals (50 , users .size ());
27+ assertEquals (30 , users .size ());
2828 return users ;
2929 }
3030}
You can’t perform that action at this time.
0 commit comments