You are here

public function BlazyFormatterTest::providerTestBlazyMedia in Blazy 8.2

Same name and namespace in other branches
  1. 8 tests/src/Kernel/BlazyFormatterTest.php \Drupal\Tests\blazy\Kernel\BlazyFormatterTest::providerTestBlazyMedia()

Provide test cases for ::testBlazyMedia().

Return value

array An array of tested data.

File

tests/src/Kernel/BlazyFormatterTest.php, line 210

Class

BlazyFormatterTest
Tests the Blazy image formatter.

Namespace

Drupal\Tests\blazy\Kernel

Code

public function providerTestBlazyMedia() {
  return [
    [
      '',
      TRUE,
    ],
    [
      'http://xyz123.com/x/123',
      FALSE,
    ],
    [
      'user',
      TRUE,
    ],
  ];
}