joomla/joomla-platform — pull request #613 by mbabker (2011-12-06 07:08:06+00:00)
Title: Update JHtmlForm::token()

Update JHtmlForm::token() to get the token from JSession::getFormToken(). Additionally, update the test to mock the session due to a unit test failure locally, and use getFormToken in the test as well.