You are here

function LegalLinkDisplayTestCase::testPageLinkDisplay in Legal 6.8

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

Test "Page Link" display.

File

./legal.test, line 242
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');
}