Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

workaround for list api unstableness

  • Loading branch information...
commit 83a506320c7501fc51a5f7e38b5289687cc171b3 1 parent cdf412c
@yusuke authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 twitter4j-core/src/test/java/twitter4j/ListMethodsTest.java
View
4 twitter4j-core/src/test/java/twitter4j/ListMethodsTest.java
@@ -96,7 +96,6 @@ public void testListMethods() throws Exception {
assertTrue(userList.isPublic());
assertNotNull(DataObjectFactory.getRawJSON(userList));
assertNotNull(userList);
- System.out.println(userList);
assertEquals("testpoint3", userList.getName());
assertEquals("description3", userList.getDescription());
}
@@ -173,7 +172,7 @@ public void testListSubscribersMethods() throws Exception {
/*List Subscribers Methods*/
PagableResponseList<User> users;
- users = twitter1.getUserListSubscribers(userList.getId(), -1);
+ users = twitter1.getUserListSubscribers(twitter1.getId(), userList.getSlug(), -1);
assertNotNull(DataObjectFactory.getRawJSON(users));
assertEquals(0, users.size());
try {
@@ -237,7 +236,6 @@ private UserList prepareListTest() throws Exception {
userLists = twitter1.getUserLists(id1.screenName, -1l);
assertNotNull(DataObjectFactory.getRawJSON(userLists));
for (UserList alist : userLists) {
- System.out.println(alist);
twitter1.destroyUserList(twitter1.getId(), alist.getSlug());
}
return twitter1.createUserList("testpoint1", false, "description1");
Please sign in to comment.
Something went wrong with that request. Please try again.