public function ProviderRepositoryTest::providerNonExistingProviderDatabase in Drupal 8
Same name and namespace in other branches
- 9 core/modules/media/tests/src/Functional/ProviderRepositoryTest.php \Drupal\Tests\media\Functional\ProviderRepositoryTest::providerNonExistingProviderDatabase()
Data provider for testEmptyProviderList().
Return value
array
See also
::testEmptyProviderList()
File
- core/
modules/ media/ tests/ src/ Functional/ ProviderRepositoryTest.php, line 83
Class
- ProviderRepositoryTest
- Tests the oEmbed provider repository.
Namespace
Drupal\Tests\media\FunctionalCode
public function providerNonExistingProviderDatabase() {
return [
[
'http://oembed1.com/providers.json',
'Could not retrieve the oEmbed provider database from http://oembed1.com/providers.json',
],
[
'http://oembed.com/providers1.json',
'Could not retrieve the oEmbed provider database from http://oembed.com/providers1.json',
],
];
}