diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-06-24 14:22:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-24 14:22:47 +0200 |
commit | 9f8c43e222feb88f18597e42ab0512fda483d46d (patch) | |
tree | 6b2a4ad27428497713eef68ce57d4b58f18507cc /app/config/config.yml | |
parent | fb5c17a9ab5e10b1de9caa50e73638fdae19cb78 (diff) | |
parent | fdc90ceb172bb7b237e34a1a01f53018c09f514b (diff) | |
download | wallabag-9f8c43e222feb88f18597e42ab0512fda483d46d.tar.gz wallabag-9f8c43e222feb88f18597e42ab0512fda483d46d.tar.zst wallabag-9f8c43e222feb88f18597e42ab0512fda483d46d.zip |
Merge pull request #2172 from wallabag/more-tests
Change the way to login user in tests
Diffstat (limited to 'app/config/config.yml')
-rw-r--r-- | app/config/config.yml | 43 |
1 files changed, 23 insertions, 20 deletions
diff --git a/app/config/config.yml b/app/config/config.yml index 9e2e08a6..6a8078cc 100644 --- a/app/config/config.yml +++ b/app/config/config.yml | |||
@@ -5,25 +5,27 @@ imports: | |||
5 | 5 | ||
6 | framework: | 6 | framework: |
7 | #esi: ~ | 7 | #esi: ~ |
8 | translator: { fallback: "%locale%" } | 8 | translator: |
9 | secret: "%secret%" | 9 | enabled: true |
10 | fallback: "%locale%" | ||
11 | secret: "%secret%" | ||
10 | router: | 12 | router: |
11 | resource: "%kernel.root_dir%/config/routing.yml" | 13 | resource: "%kernel.root_dir%/config/routing.yml" |
12 | strict_requirements: ~ | 14 | strict_requirements: ~ |
13 | form: ~ | 15 | form: ~ |
14 | csrf_protection: ~ | 16 | csrf_protection: ~ |
15 | validation: { enable_annotations: true } | 17 | validation: |
18 | enable_annotations: true | ||
16 | templating: | 19 | templating: |
17 | engines: ['twig'] | 20 | engines: ['twig'] |
18 | #assets_version: SomeVersionScheme | 21 | default_locale: "%locale%" |
19 | default_locale: "%locale%" | 22 | trusted_hosts: ~ |
20 | trusted_hosts: ~ | ||
21 | trusted_proxies: ~ | 23 | trusted_proxies: ~ |
22 | session: | 24 | session: |
23 | # handler_id set to null will use default session handler from php.ini | 25 | # handler_id set to null will use default session handler from php.ini |
24 | handler_id: session.handler.native_file | 26 | handler_id: session.handler.native_file |
25 | save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%" | 27 | save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%" |
26 | fragments: ~ | 28 | fragments: ~ |
27 | http_method_override: true | 29 | http_method_override: true |
28 | assets: ~ | 30 | assets: ~ |
29 | 31 | ||
@@ -54,14 +56,14 @@ wallabag_import: | |||
54 | 56 | ||
55 | # Twig Configuration | 57 | # Twig Configuration |
56 | twig: | 58 | twig: |
57 | debug: "%kernel.debug%" | 59 | debug: "%kernel.debug%" |
58 | strict_variables: "%kernel.debug%" | 60 | strict_variables: "%kernel.debug%" |
59 | form_themes: | 61 | form_themes: |
60 | - "LexikFormFilterBundle:Form:form_div_layout.html.twig" | 62 | - "LexikFormFilterBundle:Form:form_div_layout.html.twig" |
61 | 63 | ||
62 | # Assetic Configuration | 64 | # Assetic Configuration |
63 | assetic: | 65 | assetic: |
64 | debug: "%kernel.debug%" | 66 | debug: "%kernel.debug%" |
65 | use_controller: false | 67 | use_controller: false |
66 | bundles: [ ] | 68 | bundles: [ ] |
67 | #java: /usr/bin/java | 69 | #java: /usr/bin/java |
@@ -75,14 +77,14 @@ assetic: | |||
75 | # Doctrine Configuration | 77 | # Doctrine Configuration |
76 | doctrine: | 78 | doctrine: |
77 | dbal: | 79 | dbal: |
78 | driver: "%database_driver%" | 80 | driver: "%database_driver%" |
79 | host: "%database_host%" | 81 | host: "%database_host%" |
80 | port: "%database_port%" | 82 | port: "%database_port%" |
81 | dbname: "%database_name%" | 83 | dbname: "%database_name%" |
82 | user: "%database_user%" | 84 | user: "%database_user%" |
83 | password: "%database_password%" | 85 | password: "%database_password%" |
84 | charset: UTF8 | 86 | charset: UTF8 |
85 | path: "%database_path%" | 87 | path: "%database_path%" |
86 | server_version: 5.6 | 88 | server_version: 5.6 |
87 | 89 | ||
88 | orm: | 90 | orm: |
@@ -108,10 +110,11 @@ doctrine_migrations: | |||
108 | # Swiftmailer Configuration | 110 | # Swiftmailer Configuration |
109 | swiftmailer: | 111 | swiftmailer: |
110 | transport: "%mailer_transport%" | 112 | transport: "%mailer_transport%" |
111 | host: "%mailer_host%" | 113 | host: "%mailer_host%" |
112 | username: "%mailer_user%" | 114 | username: "%mailer_user%" |
113 | password: "%mailer_password%" | 115 | password: "%mailer_password%" |
114 | spool: { type: memory } | 116 | spool: |
117 | type: memory | ||
115 | 118 | ||
116 | fos_rest: | 119 | fos_rest: |
117 | param_fetcher_listener: true | 120 | param_fetcher_listener: true |
@@ -173,7 +176,7 @@ liip_theme: | |||
173 | 176 | ||
174 | fos_user: | 177 | fos_user: |
175 | db_driver: orm | 178 | db_driver: orm |
176 | firewall_name: main | 179 | firewall_name: secured_area |
177 | user_class: Wallabag\UserBundle\Entity\User | 180 | user_class: Wallabag\UserBundle\Entity\User |
178 | registration: | 181 | registration: |
179 | confirmation: | 182 | confirmation: |