framework:
    secret: test
    test: ~
    session:
        storage_id: session.storage.filesystem
    form:            true
    csrf_protection: false
    validation:
        enabled: true
        enable_annotations: true
    router:
        resource: '%kernel.root_dir%/%kernel.test_case%/routing.yml'
    templating:
        engines: [twig]
    translator:
        enabled: false

doctrine:
    dbal:
        driver:   pdo_sqlite
        path:     '%kernel.cache_dir%/db.sqlite'
        charset:  UTF8

    orm:
        auto_generate_proxy_classes: '%kernel.debug%'
        auto_mapping: true

security:
    providers:
        memory:
            memory:
                users:
                    admin: { password: admin, roles: [ROLE_SUPER_ADMIN] }
                    user: { password: user, roles: [ROLE_USER] }

    encoders:
        Symfony\Component\Security\Core\User\User: plaintext

    firewalls:
        main:
            pattern: ^/
            form_login: false
            http_basic:
                provider: memory
                realm: "FOSCommentBundle Test Suite"
            logout:       true
            anonymous:    true

    role_hierarchy:
        ROLE_ADMIN:       ROLE_USER
        ROLE_SUPER_ADMIN: [ROLE_USER, ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH]

twig:
    debug: '%kernel.debug%'
    strict_variables: '%kernel.debug%'
