Replaced ESI mentions with SSI when appropriate
This commit is contained in:
parent
b54a154531
commit
7ee23c1fd3
@ -16,7 +16,7 @@ use Symfony\Component\HttpFoundation\Request;
|
|||||||
use Symfony\Component\HttpKernel\UriSigner;
|
use Symfony\Component\HttpKernel\UriSigner;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implements the ESI rendering strategy.
|
* Implements the SSI rendering strategy.
|
||||||
*
|
*
|
||||||
* @author Sebastian Krebs <krebs.seb@gmail.com>
|
* @author Sebastian Krebs <krebs.seb@gmail.com>
|
||||||
*/
|
*/
|
||||||
|
@ -17,7 +17,7 @@ use Symfony\Component\HttpKernel\HttpCache\Ssi;
|
|||||||
|
|
||||||
class SsiTest extends \PHPUnit_Framework_TestCase
|
class SsiTest extends \PHPUnit_Framework_TestCase
|
||||||
{
|
{
|
||||||
public function testHasSurrogateEsiCapability()
|
public function testHasSurrogateSsiCapability()
|
||||||
{
|
{
|
||||||
$ssi = new Ssi();
|
$ssi = new Ssi();
|
||||||
|
|
||||||
@ -33,7 +33,7 @@ class SsiTest extends \PHPUnit_Framework_TestCase
|
|||||||
$this->assertFalse($ssi->hasSurrogateCapability($request));
|
$this->assertFalse($ssi->hasSurrogateCapability($request));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testAddSurrogateEsiCapability()
|
public function testAddSurrogateSsiCapability()
|
||||||
{
|
{
|
||||||
$ssi = new Ssi();
|
$ssi = new Ssi();
|
||||||
|
|
||||||
@ -58,7 +58,7 @@ class SsiTest extends \PHPUnit_Framework_TestCase
|
|||||||
$this->assertEquals('', $response->headers->get('Surrogate-Control'));
|
$this->assertEquals('', $response->headers->get('Surrogate-Control'));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testNeedsEsiParsing()
|
public function testNeedsSsiParsing()
|
||||||
{
|
{
|
||||||
$ssi = new Ssi();
|
$ssi = new Ssi();
|
||||||
|
|
||||||
@ -117,7 +117,7 @@ class SsiTest extends \PHPUnit_Framework_TestCase
|
|||||||
/**
|
/**
|
||||||
* @expectedException \RuntimeException
|
* @expectedException \RuntimeException
|
||||||
*/
|
*/
|
||||||
public function testProcessWhenNoSrcInAnEsi()
|
public function testProcessWhenNoSrcInAnSsi()
|
||||||
{
|
{
|
||||||
$ssi = new Ssi();
|
$ssi = new Ssi();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user