You are here

public function SqlImportTest::importProvider in MongoDB 8.2

Data provider for testImportActual.

Return value

array The test data.

File

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

Class

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

Namespace

Drupal\Tests\mongodb_storage\Kernel

Code

public function importProvider() : array {
  return [
    [
      SqlImport::KVP_TABLE,
      Storage::SERVICE_KV,
      KeyValueFactory::COLLECTION_PREFIX,
    ],
    [
      SqlImport::KVE_TABLE,
      Storage::SERVICE_KVE,
      KeyValueExpirableFactory::COLLECTION_PREFIX,
    ],
  ];
}