public function EnvParametersResourceTest::testIsFreshValueRemoved in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Tests/Config/EnvParametersResourceTest.php \Symfony\Component\HttpKernel\Tests\Config\EnvParametersResourceTest::testIsFreshValueRemoved()
File
- vendor/
symfony/ http-kernel/ Tests/ Config/ EnvParametersResourceTest.php, line 81
Class
Namespace
Symfony\Component\HttpKernel\Tests\ConfigCode
public function testIsFreshValueRemoved() {
reset($this->initialEnv);
unset($_SERVER[key($this->initialEnv)]);
$this
->assertFalse($this->resource
->isFresh(time()), '->isFresh() returns false if a variable has been removed');
}