You are here

protected property DrupalSqlBaseTest::$databaseContents in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php \Drupal\Tests\migrate_drupal\Unit\source\DrupalSqlBaseTest::databaseContents
  2. 9 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.

File

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

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,
    ],
  ],
];