Merge TUV patch 1844: junit test ccm-forum

git-svn-id: https://svn.libreccm.org/ccm/trunk@100 8810af33-2d31-482b-a856-94f89814c4df
master
pb 2009-03-15 15:22:01 +00:00
parent 603c33ac7a
commit 7ef33a9598
2 changed files with 4 additions and 4 deletions

View File

@ -37,7 +37,7 @@ import com.arsdigita.tools.junit.framework.BaseTestCase;
public class PostTest extends BaseTestCase {
public static final String versionId = "$Id: PostTest.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:26:27 $";
public static final String versionId = "$Id: PostTest.java 1844 2009-03-05 13:25:28Z terry $ by $Author: terry $, $DateTime: 2004/08/17 23:26:27 $";
protected static final String SUBJECT = "This is the subject";
protected static final String BODY = "<p>This is the <b>body</b></p>";
@ -190,7 +190,7 @@ public class PostTest extends BaseTestCase {
}
public void testSendNotifications() {
m_msg.sendNotifications();
m_msg.sendNotifications(null);
}
public void testSubscriptionCreation() {

View File

@ -27,7 +27,7 @@ import com.arsdigita.tools.junit.framework.BaseTestCase;
public class ThreadSubscriptionTest extends BaseTestCase {
public static final String versionId = "$Id: ThreadSubscriptionTest.java 287 2005-02-22 00:29:02Z sskracic $ by $Author: sskracic $, $DateTime: 2004/08/17 23:26:27 $";
public static final String versionId = "$Id: ThreadSubscriptionTest.java 1844 2009-03-05 13:25:28Z terry $ by $Author: terry $, $DateTime: 2004/08/17 23:26:27 $";
private ThreadSubscription m_subscription;
private MessageThread m_thread;
@ -96,7 +96,7 @@ public class ThreadSubscriptionTest extends BaseTestCase {
m_subscription.subscribe(user);
m_subscription.save();
DomainCollection subs = ThreadSubscription.getSubsForUser(user);
DomainCollection subs = ThreadSubscription.getSubsForUser(user, null);
boolean found = false;
while (subs.next()) {