DrupalSqlBaseTest::$databaseContents

Same name in other branches
  1. 9 core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php \Drupal\Tests\migrate_drupal\Unit\source\DrupalSqlBaseTest::databaseContents
  2. 10 core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php \Drupal\Tests\migrate_drupal\Unit\source\DrupalSqlBaseTest::databaseContents
  3. 11.x core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php \Drupal\Tests\migrate_drupal\Unit\source\DrupalSqlBaseTest::databaseContents

Minimum database contents needed to test DrupalSqlBase.

Type: databaseContents

File

core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php, line 29

Class

DrupalSqlBaseTest
@coversDefaultClass Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase @group migrate_drupal

Namespace

Drupal\Tests\migrate_drupal\Unit\source

Code

protected $databaseContents = [
    'system' => [
        [
            'filename' => 'sites/all/modules/module1',
            'name' => 'module1',
            'type' => 'module',
            'status' => 0,
            'schema_version' => -1,
        ],
    ],
];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.