function LegalScrollBoxDisplayTestCase::testScrollBoxDisplay in Legal 7.2
Same name and namespace in other branches
- 6.8 legal.test \LegalScrollBoxDisplayTestCase::testScrollBoxDisplay()
- 7 legal.test \LegalScrollBoxDisplayTestCase::testScrollBoxDisplay()
Test "Scroll Box" display.
File
- ./
legal.test, line 195 - Tests for Legal module.
Class
- LegalScrollBoxDisplayTestCase
- Test Scroll Box Display.
Code
function testScrollBoxDisplay() {
$this
->drupalGet('user/register');
// Check presence of T&C text.
$this
->assertText($this->conditions, 'T&C text displayed');
}