You are here

public function BlazyFormatterTest::providerTestBlazyMedia in Blazy 8

Same name and namespace in other branches
  1. 8.2 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 211

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,
    ],
  ];
}