public function EnvParametersResourceTest::testIsFreshValueChanged 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::testIsFreshValueChanged()
File
- vendor/
symfony/ http-kernel/ Tests/ Config/ EnvParametersResourceTest.php, line 70
Class
Namespace
Symfony\Component\HttpKernel\Tests\ConfigCode
public function testIsFreshValueChanged() {
reset($this->initialEnv);
$_SERVER[key($this->initialEnv)] = 'baz';
$this
->assertFalse($this->resource
->isFresh(time()), '->isFresh() returns false if a variable has been changed');
}