You are here

function SecurepagesTest::testSecurePages in Secure Pages 8

Runs all the tests in a sequence to avoid multiple re-installs.

File

src/Tests/SecurepagesTest.php, line 51
Contains \Drupal\securepages\Tests\SecurepagesTest.

Class

SecurepagesTest
Test Secure Pages redirects.

Namespace

Drupal\securepages\Tests

Code

function testSecurePages() {
  $this
    ->_testSettingsForm();
  $this
    ->_testMatch();
  $this
    ->_testLocale();
  $this
    ->_testAnonymous();
  $this
    ->_testFormAlter();
  $this
    ->_testCachedResponse();
  $this
    ->_testPathAlias();

  // @todo given no GET q in Drupal 8 and otherwise the format tested not
  // being a valid URL, not sure how would securepages be used for open
  // redirection.
  // $this->_testOpenRedirect();
  $this
    ->_testXHR();
  $this
    ->_testRoles();
  $this
    ->_testPathNorms();
}