30 lines
631 B
PHP
Executable File
30 lines
631 B
PHP
Executable File
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace MauticPlugin\MauticFocusBundle\Tests\Twig;
|
|
|
|
use MauticPlugin\MauticFocusBundle\Twig\Extension\FocusBundleExtension;
|
|
use Twig\Extension\ExtensionInterface;
|
|
|
|
/**
|
|
* @see https://twig.symfony.com/doc/2.x/advanced.html#functional-tests
|
|
*/
|
|
class TwigIntegrationTest extends \Twig\Test\IntegrationTestCase
|
|
{
|
|
/**
|
|
* @return ExtensionInterface[]
|
|
*/
|
|
public function getExtensions(): array
|
|
{
|
|
return [
|
|
new FocusBundleExtension(),
|
|
];
|
|
}
|
|
|
|
public static function getFixturesDirectory(): string
|
|
{
|
|
return __DIR__.'/Fixtures/';
|
|
}
|
|
}
|