You are here

public function TwigConvertTest::testMd5Value in Twig Tools 8

@covers ::md5Value

@dataProvider providerTestMd5Values

File

tests/src/Unit/TwigConvertTest.php, line 203

Class

TwigConvertTest
Tests to ensure conversions filters work correctly.

Namespace

Drupal\Tests\twig_tools\Unit

Code

public function testMd5Value($template, $expected) {
  $result = $this->twig
    ->render($template);
  $this
    ->assertSame($expected, $result);
}