DatabaseWebTestBase.php

Definition of Drupal\system\Tests\Database\DatabaseWebTestBase.

Namespace

Drupal\system\Tests\Database

File

drupal/core/modules/system/lib/Drupal/system/Tests/Database/DatabaseWebTestBase.php
View source
<?php

/**
 * @file
 * Definition of Drupal\system\Tests\Database\DatabaseWebTestBase.
 */
namespace Drupal\system\Tests\Database;

use Drupal\simpletest\WebTestBase;

/**
 * Base class for databases database tests.
 */
abstract class DatabaseWebTestBase extends WebTestBase {

  /**
   * Modules to enable.
   *
   * @var array
   */
  public static $modules = array(
    'database_test',
  );
  function setUp() {
    parent::setUp();
    DatabaseTestBase::addSampleData();
  }

}

Classes

Namesort descending Description
DatabaseWebTestBase Base class for databases database tests.