You are here

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

Same name and namespace in other branches
  1. 1.0.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 An array of values to test.

See also

::testEmptyProviderList()

File

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

Class

ProviderRepositoryTest
Tests the oEmbed provider repository.

Namespace

Drupal\Tests\oembed_providers\Functional

Code

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