You are here

public function SqlImportTest::setUp in MongoDB 8.2

Install the database keyvalue tables for import.

Overrides KeyValueTestBase::setUp

File

modules/mongodb_storage/tests/src/Kernel/SqlImportTest.php, line 55

Class

SqlImportTest
Tests the import for the commands.mongodb.storage.import_keyvalue command.

Namespace

Drupal\Tests\mongodb_storage\Kernel

Code

public function setUp() : void {
  parent::setUp();
  $this->database = $this->container
    ->get('database');
  $this->sqlImport = $this->container
    ->get(Storage::SERVICE_SQL_IMPORT);
}