You are here

function LegalHTMLTextDisplayTestCase::testHTMLTextDisplay in Legal 6.8

Same name and namespace in other branches
  1. 7.2 legal.test \LegalHTMLTextDisplayTestCase::testHTMLTextDisplay()
  2. 7 legal.test \LegalHTMLTextDisplayTestCase::testHTMLTextDisplay()

Test "HTML Text" display.

File

./legal.test, line 205
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->conditions, 'T&C text displayed');
}