You are here

protected property MigrateSqlSourceTestCase::$databaseContents in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate/tests/src/Unit/MigrateSqlSourceTestCase.php \Drupal\Tests\migrate\Unit\MigrateSqlSourceTestCase::databaseContents

The database contents.

Database contents represents a mocked database. It should contain an associative array with the table name as key, and as many nested arrays as the number of mocked rows. Each of those faked rows must be another array with the column name as the key and the value as the cell.

Type: array

File

core/modules/migrate/tests/src/Unit/MigrateSqlSourceTestCase.php, line 34
Contains \Drupal\Tests\migrate\Unit\MigrateSqlSourceTestCase.

Class

MigrateSqlSourceTestCase
Base class for Migrate module source unit tests.

Namespace

Drupal\Tests\migrate\Unit

Code

protected $databaseContents = array();