You are here

public function StorageFactoryTest::providerGetConfiguredStorage in Radioactivity 4.0.x

Same name and namespace in other branches
  1. 8.3 tests/src/Unit/StorageFactoryTest.php \Drupal\Tests\radioactivity\Unit\StorageFactoryTest::providerGetConfiguredStorage()

Data provider for testGet.

Return value

array Configured type, storage type.

File

tests/src/Unit/StorageFactoryTest.php, line 142

Class

StorageFactoryTest
@coversDefaultClass \Drupal\radioactivity\StorageFactory @group radioactivity

Namespace

Drupal\Tests\radioactivity\Unit

Code

public function providerGetConfiguredStorage() {
  return [
    [
      'rest_local',
      'rest_local',
    ],
    [
      'rest_remote',
      'rest_remote',
    ],
    [
      'default',
      'default',
    ],
    [
      NULL,
      'default',
    ],
  ];
}