You are here

public function EnvParametersResourceTest::testIsFreshValueAdded in Zircon Profile 8.0

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

File

vendor/symfony/http-kernel/Tests/Config/EnvParametersResourceTest.php, line 92

Class

EnvParametersResourceTest

Namespace

Symfony\Component\HttpKernel\Tests\Config

Code

public function testIsFreshValueAdded() {
  $_SERVER[$this->prefix . '3'] = 'foo';
  $this
    ->assertFalse($this->resource
    ->isFresh(time()), '->isFresh() returns false if a variable has been added');
}