You are here

public function Anonymouspublishingtest::createAnonRequireAlias in Anonymous Publishing 7

Test A.4: Leave out the required alias.

1 call to Anonymouspublishingtest::createAnonRequireAlias()
Anonymouspublishingtest::testAnonymouspublishing in tests/anonymous_publishing.test
The main test function.

File

tests/anonymous_publishing.test, line 103

Class

Anonymouspublishingtest
Tests for the Anonymous Publishing modules.

Code

public function createAnonRequireAlias($type, $response) {
  variable_set('anonymous_publishing_cl_alias', 3);
  variable_set('anonymous_publishing_cl_requiredchar', 6);
  $this
    ->createNode($type, 'emailadr@example.com');
  $this
    ->assertText($response, 'A.4: The page content is present.');
}