You are here

public function SecureSiteTypeFormNoneFunctionalTest::testSecureSiteTypeFormNone in Secure Site 7.2

Same name and namespace in other branches
  1. 6.2 securesite.test \SecureSiteTypeFormNoneFunctionalTest::testSecureSiteTypeFormNone()

Request home page without credentials.

File

./securesite.test, line 1522
Tests for Secure Site module.

Class

SecureSiteTypeFormNoneFunctionalTest
Functional test for form authentication without credentials.

Code

public function testSecureSiteTypeFormNone() {
  $this
    ->drupalGet(NULL);
  $this
    ->assertFieldByXPath('//form[@id="securesite-user-login"]', '', t('Requesting home page without credentials.'));
}