You are here

public function SsiTest::testRenderIncludeTag in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-kernel/Tests/HttpCache/SsiTest.php \Symfony\Component\HttpKernel\Tests\HttpCache\SsiTest::testRenderIncludeTag()

File

vendor/symfony/http-kernel/Tests/HttpCache/SsiTest.php, line 73

Class

SsiTest

Namespace

Symfony\Component\HttpKernel\Tests\HttpCache

Code

public function testRenderIncludeTag() {
  $ssi = new Ssi();
  $this
    ->assertEquals('<!--#include virtual="/" -->', $ssi
    ->renderIncludeTag('/', '/alt', true));
  $this
    ->assertEquals('<!--#include virtual="/" -->', $ssi
    ->renderIncludeTag('/', '/alt', false));
  $this
    ->assertEquals('<!--#include virtual="/" -->', $ssi
    ->renderIncludeTag('/'));
}