mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-30 05:58:46 +02:00
N°2651 rollback gitignore for lib tests dirs
Too dangerous ! We'll work properly on this but for 2.8
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
|
||||
use Symfony\Bundle\FrameworkBundle\Tests\Functional\Bundle\TestBundle\TestBundle;
|
||||
|
||||
return [
|
||||
new FrameworkBundle(),
|
||||
new TestBundle(),
|
||||
];
|
||||
@@ -0,0 +1,14 @@
|
||||
imports:
|
||||
- { resource: ../config/default.yml }
|
||||
|
||||
framework:
|
||||
cache:
|
||||
pools:
|
||||
cache.pool1:
|
||||
public: true
|
||||
adapter: cache.system
|
||||
cache.pool2:
|
||||
public: true
|
||||
adapter: cache.pool3
|
||||
cache.pool3:
|
||||
clearer: ~
|
||||
@@ -0,0 +1,17 @@
|
||||
imports:
|
||||
- { resource: ../config/default.yml }
|
||||
|
||||
parameters:
|
||||
env(REDIS_HOST): 'localhost'
|
||||
|
||||
framework:
|
||||
cache:
|
||||
app: cache.adapter.redis
|
||||
default_redis_provider: "redis://%env(REDIS_HOST)%"
|
||||
pools:
|
||||
cache.pool1:
|
||||
public: true
|
||||
clearer: cache.system_clearer
|
||||
cache.pool2:
|
||||
public: true
|
||||
clearer: ~
|
||||
@@ -0,0 +1,28 @@
|
||||
imports:
|
||||
- { resource: ../config/default.yml }
|
||||
|
||||
parameters:
|
||||
env(REDIS_HOST): 'localhost'
|
||||
|
||||
services:
|
||||
cache.test_redis_connection:
|
||||
public: false
|
||||
class: Redis
|
||||
calls:
|
||||
- [connect, ['%env(REDIS_HOST)%']]
|
||||
|
||||
cache.app:
|
||||
parent: cache.adapter.redis
|
||||
tags:
|
||||
- name: cache.pool
|
||||
provider: cache.test_redis_connection
|
||||
|
||||
framework:
|
||||
cache:
|
||||
pools:
|
||||
cache.pool1:
|
||||
public: true
|
||||
clearer: cache.system_clearer
|
||||
cache.pool2:
|
||||
public: true
|
||||
clearer: ~
|
||||
Reference in New Issue
Block a user