It seems like the GitHub access token used for retrieving details about this repository from
GitHub became invalid. This might prevent certain types of inspections from being run (in
particular,
everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
6
7
/**
8
* Test that integration with Twig works as expected.
9
*/
10
class ShortcodeExtensionTest extends KernelTestCase
11
{
12
/**
13
* @test
14
*/
15
public function resolve_placeholder_shortcode_in_twig(): void
16
{
17
self::assertSame('News from year 1970.', $this->renderTemplate('{% apply shortcodes %}[placeholder year=1970]News from year %year%.[/placeholder]{% endapply %}'));