function ProviderRepositoryTest::providerNonExistingProviderDatabase
Same name in this branch
- 10 core/modules/media/tests/src/Kernel/ProviderRepositoryTest.php \Drupal\Tests\media\Kernel\ProviderRepositoryTest::providerNonExistingProviderDatabase()
Same name in other branches
- 9 core/modules/media/tests/src/Functional/ProviderRepositoryTest.php \Drupal\Tests\media\Functional\ProviderRepositoryTest::providerNonExistingProviderDatabase()
- 8.9.x core/modules/media/tests/src/Functional/ProviderRepositoryTest.php \Drupal\Tests\media\Functional\ProviderRepositoryTest::providerNonExistingProviderDatabase()
- 11.x core/modules/media/tests/src/Functional/ProviderRepositoryTest.php \Drupal\Tests\media\Functional\ProviderRepositoryTest::providerNonExistingProviderDatabase()
- 11.x core/modules/media/tests/src/Kernel/ProviderRepositoryTest.php \Drupal\Tests\media\Kernel\ProviderRepositoryTest::providerNonExistingProviderDatabase()
Data provider for testEmptyProviderList().
Return value
array
See also
::testEmptyProviderList()
File
-
core/
modules/ media/ tests/ src/ Functional/ ProviderRepositoryTest.php, line 89
Class
- ProviderRepositoryTest
- Tests the oEmbed provider repository.
Namespace
Drupal\Tests\media\FunctionalCode
public static 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',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.