StandardTest.php

Contains Drupal\standard\Tests\StandardTest.

Namespace

Drupal\standard\Tests

File

drupal/core/profiles/standard/lib/Drupal/standard/Tests/StandardTest.php
View source
<?php

/**
 * @file
 * Contains Drupal\standard\Tests\StandardTest.
 */
namespace Drupal\standard\Tests;

use Drupal\simpletest\WebTestBase;

/**
 * Tests Standard installation profile expectations.
 */
class StandardTest extends WebTestBase {
  protected $profile = 'standard';
  public static function getInfo() {
    return array(
      'name' => 'Standard installation profile',
      'description' => 'Tests Standard installation profile expectations.',
      'group' => 'Standard',
    );
  }

  /**
   * Tests Standard installation profile.
   */
  function testStandard() {
    $this
      ->drupalGet('');
    $this
      ->assertLink(t('Contact'));
    $this
      ->clickLink(t('Contact'));
    $this
      ->assertResponse(200);
  }

}

Classes

Namesort descending Description
StandardTest Tests Standard installation profile expectations.