You are here

protected property Drupal6SqlBaseTest::$databaseContents in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php \Drupal\Tests\migrate_drupal\Unit\source\d6\Drupal6SqlBaseTest::databaseContents

Minimum database contents needed to test Drupal6SqlBase.

File

core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php, line 34
Contains \Drupal\Tests\migrate_drupal\Unit\source\d6\Drupal6SqlBaseTest.

Class

Drupal6SqlBaseTest
Tests the D6 SQL base class.

Namespace

Drupal\Tests\migrate_drupal\Unit\source\d6

Code

protected $databaseContents = array(
  'system' => array(
    array(
      'filename' => 'sites/all/modules/module1',
      'name' => 'module1',
      'type' => 'module',
      'status' => 1,
      'schema_version' => -1,
    ),
    array(
      'filename' => 'sites/all/modules/module2',
      'name' => 'module2',
      'type' => 'module',
      'status' => 0,
      'schema_version' => 7201,
    ),
    array(
      'filename' => 'sites/all/modules/test2',
      'name' => 'test2',
      'type' => 'theme',
      'status' => 1,
      'schema_version' => -1,
    ),
  ),
  'variable' => array(
    array(
      'name' => 'my_variable',
      'value' => 'b:1;',
    ),
  ),
);