You are here

public function Anonymouspublishingtest::createAnonContentWrongEmail in Anonymous Publishing 7

Test A.3: Create anon contant win an invalid email address.

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

File

tests/anonymous_publishing.test, line 95

Class

Anonymouspublishingtest
Tests for the Anonymous Publishing modules.

Code

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