You are here

function LegalScrollBoxDisplayTestCase::testScrollBoxDisplay in Legal 7.2

Same name and namespace in other branches
  1. 6.8 legal.test \LegalScrollBoxDisplayTestCase::testScrollBoxDisplay()
  2. 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');
}