You are here

protected property ProviderManagerTest::$mockProviders in Video Embed Field 8.2

Same name and namespace in other branches
  1. 8 tests/src/Unit/ProviderManagerTest.php \Drupal\Tests\video_embed_field\Unit\ProviderManagerTest::mockProviders

Mock providers to use for the test.

Type: array

File

tests/src/Unit/ProviderManagerTest.php, line 19

Class

ProviderManagerTest
Tests the provider manager is working.

Namespace

Drupal\Tests\video_embed_field\Unit

Code

protected $mockProviders = [
  'provider_a' => [
    'id' => 'provider_a',
    'title' => 'Provider A',
  ],
  'provider_b' => [
    'id' => 'provider_b',
    'title' => 'Provider B',
  ],
  'provider_c' => [
    'id' => 'provider_c',
    'title' => 'Provider C',
  ],
];