for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Shoot\Shoot\Tests\Integration\Composition;
use Shoot\Shoot\Tests\Integration\IntegrationTestCase;
final class CompositionTest extends IntegrationTestCase
{
/** @var string */
protected $templateDirectory = __DIR__ . '/Templates';
/**
* @return void
*/
public function testVariablesFilterShouldPassOnModelVariablesToIncludedTemplate()
$output = $this->renderTemplate('page.twig');
$this->assertContains('<h2>item_label</h2>', $output);
}