Gc\Mvc\Resolver\AliasPathStackTest::testLfiProtectionFlagDefaultsTrue PHP Метод

testLfiProtectionFlagDefaultsTrue() публичный Метод

Test Lfi Protection Flag Defaults to true
public testLfiProtectionFlagDefaultsTrue ( ) : void
Результат void
    public function testLfiProtectionFlagDefaultsTrue()
    {
        $resolver = new AssetAliasPathStack($this->serviceManager);
        $resolver->addAlias('my/alias/', __DIR__);
        $returned = $resolver->isLfiProtectionOn();
        $this->assertTrue($returned);
    }