public function ProviderUrlParseTest::urlsWithExpectedIds in Video Embed Brightcove 8
A data provider for URL parsing test cases.
Return value
array An array of test cases.
File
- tests/
src/ Unit/ ProviderUrlParseTest.php, line 30
Class
- ProviderUrlParseTest
- Test that URL parsing for the provider is functioning.
Namespace
Drupal\Tests\video_embed_brightcove\UnitCode
public function urlsWithExpectedIds() {
return [
'Studio browser preview URL' => [
'http://players.brightcove.net/4792245499001/default_default/index.html?videoId=4792919782001',
'4792919782001',
],
];
}