You are here

public function Anonymouspublishingtest::createAnonContentNoEmail in Anonymous Publishing 7

Test A.2: Create anon content without giving an email address.

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

File

tests/anonymous_publishing.test, line 87

Class

Anonymouspublishingtest
Tests for the Anonymous Publishing modules.

Code

public function createAnonContentNoEmail($type, $response) {
  $this
    ->createNode($type);
  $this
    ->assertText($response, 'A.2: The page content is present.');
}