You are here

function LegalLinkDisplayTestCase::testPageLinkDisplay in Legal 7

Same name and namespace in other branches
  1. 6.8 legal.test \LegalLinkDisplayTestCase::testPageLinkDisplay()
  2. 7.2 legal.test \LegalLinkDisplayTestCase::testPageLinkDisplay()

Test "Page Link" display.

File

./legal.test, line 276
Tests for Legal module.

Class

LegalLinkDisplayTestCase
Test "Page Link" display.

Code

function testPageLinkDisplay() {
  $this
    ->drupalGet('user/register');

  // Check presence of T&C link.
  $this
    ->assertLink('Terms & Conditions', 0, 'T&C link found');
}