Bolt\Tests\Provider\TwigServiceProviderTest::testConfigCacheDisabled PHP Метод

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

    public function testConfigCacheDisabled()
    {
        $app = $this->getApp();
        $app['config']->set('general/caching/templates', false);
        $app->register(new TwigServiceProvider());
        $this->assertArrayNotHasKey('cache', $app['twig.options']);
    }