You are here

public function ProviderRepositoryTest::providerEmptyProviderList in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/media/tests/src/Functional/ProviderRepositoryTest.php \Drupal\Tests\media\Functional\ProviderRepositoryTest::providerEmptyProviderList()

Data provider for testEmptyProviderList().

Return value

array

See also

::testEmptyProviderList()

File

core/modules/media/tests/src/Functional/ProviderRepositoryTest.php, line 50

Class

ProviderRepositoryTest
Tests the oEmbed provider repository.

Namespace

Drupal\Tests\media\Functional

Code

public function providerEmptyProviderList() {
  return [
    'empty array' => [
      '[]',
    ],
    'empty string' => [
      '',
    ],
  ];
}