/*
* Created on Jun 14, 2004
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Generation - Code and Comments
*/
package com.openedit.modules.admin;
import com.openedit.BaseTestCase;
import com.openedit.WebPageRequest;
/**
* @author mcgaha_b
*
* TODO To change the template for this generated type comment go to
* Window - Preferences - Java - Code Generation - Code and Comments
*/
public class EmailPasswordReminderTest extends BaseTestCase {
public EmailPasswordReminderTest(String arg0)
{
super(arg0);
}
public void testEmailPasswordReminder() throws Exception
{
/*String base = System.getProperty("basedir");
if ( base == null)
{
System.setProperty("basedir","resources/test");
}
AdminModule adminModule = (AdminModule)getFixture().getModuleManager().getModule("Admin");
WebPageRequest context = getFixture().createPageRequest();
//context.setRequestParameter( "username", "admin" );
context.setRequestParameter( "to", "XXXXbuckeyes_reds@yahoo.com" );
adminModule.emailPasswordReminder( context );
String status = (String)context.getPageValue("commandSucceeded");
assertTrue( "nouser".equals( status ));
//PasswordHelper passwordHelper = (PasswordHelper) context.getSessionValue( "passwordHelper" );
//assertNotNull(passwordHelper);
*/
}
}
|