You are here

public function OEmbedIframeControllerTest::providerBadHashParameter in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php \Drupal\Tests\media\Kernel\OEmbedIframeControllerTest::providerBadHashParameter()

Data provider for testBadHashParameter().

Return value

array

File

core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php, line 19

Class

OEmbedIframeControllerTest
@coversDefaultClass \Drupal\media\Controller\OEmbedIframeController

Namespace

Drupal\Tests\media\Kernel

Code

public function providerBadHashParameter() {
  return [
    'no hash' => [
      '',
    ],
    'invalid hash' => [
      $this
        ->randomString(),
    ],
  ];
}