You are here

public function ProviderRepositoryTest::providerEmptyProviderList in oEmbed Providers 1.0.x

Same name and namespace in other branches
  1. 2.x tests/src/Functional/ProviderRepositoryTest.php \Drupal\Tests\oembed_providers\Functional\ProviderRepositoryTest::providerEmptyProviderList()
  2. 1.1.x tests/src/Functional/ProviderRepositoryTest.php \Drupal\Tests\oembed_providers\Functional\ProviderRepositoryTest::providerEmptyProviderList()

Data provider for testEmptyProviderList().

Return value

array

See also

::testEmptyProviderList()

File

tests/src/Functional/ProviderRepositoryTest.php, line 66

Class

ProviderRepositoryTest
Tests the oEmbed provider repository.

Namespace

Drupal\Tests\oembed_providers\Functional

Code

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