<?php

/**
 * @file
 * Contains \Drupal\path\Tests\PathTestBase.
 */

namespace Drupal\path\Tests;

use Drupal\simpletest\WebTestBase;

/**
 * Provides a base class for testing the Path module.
 */
abstract class PathTestBase extends WebTestBase {

  /**
   * Modules to enable.
   *
   * @var array
   */
  public static $modules = array('node', 'path');

  protected function setUp() {
    parent::setUp();

    // Create Basic page and Article node types.
    if ($this->profile != 'standard') {
      $this->drupalCreateContentType(array('type' => 'page', 'name' => 'Basic page'));
      $this->drupalCreateContentType(array('type' => 'article', 'name' => 'Article'));
    }
  }
}
