Test method Coverage for site.createPortalUser method for Registration
Hi,
i want to know how to cover the site.createportaluser() method in testmethods. when i run the class which creates customer portal user through this methods.when run the class this method always returns null. Any help would be great appreciable.
In tests Site.createPortalUser(u, accountId, password); always returns null. You can assert for that if you need to.