protected property ProviderManagerTest::$mockProviders in Video Embed Field 8.2
Same name and namespace in other branches
- 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\UnitCode
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',
],
];