public function ProviderRepositoryTest::providerNonExistingProviderDatabase in Drupal 9
Same name and namespace in other branches
- 8 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 84
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',
],
];
}