function LegalHTMLTextDisplayTestCase::testHTMLTextDisplay in Legal 7
Same name and namespace in other branches
- 6.8 legal.test \LegalHTMLTextDisplayTestCase::testHTMLTextDisplay()
- 7.2 legal.test \LegalHTMLTextDisplayTestCase::testHTMLTextDisplay()
Test "HTML Text" display.
File
- ./
legal.test, line 244 - Tests for Legal module.
Class
- LegalHTMLTextDisplayTestCase
- Test HTML Text display.
Code
function testHTMLTextDisplay() {
$this
->drupalGet('user/register');
// Check presence of T&C text.
$this
->assertText($this->edit['conditions[value]'], 'T&C text displayed');
}