public function ProviderRepositoryTest::providerInvalidResponse in Drupal 9
Same name and namespace in other branches
- 10 core/modules/media/tests/src/Unit/ProviderRepositoryTest.php \Drupal\Tests\media\Unit\ProviderRepositoryTest::providerInvalidResponse()
Data provider for ::testInvalidResponse().
Return value
array[] Sets of arguments to pass to the test method.
File
- core/
modules/ media/ tests/ src/ Unit/ ProviderRepositoryTest.php, line 167
Class
- ProviderRepositoryTest
- @coversDefaultClass \Drupal\media\OEmbed\ProviderRepository
Namespace
Drupal\Tests\media\UnitCode
public function providerInvalidResponse() : array {
return [
'expired' => [
-86400,
],
'fresh' => [
86400,
],
];
}