File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed
Tests/DependencyInjection Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 24
24
'session ' => array (
25
25
'storage_id ' => 'session.storage.native ' ,
26
26
'handler_id ' => 'session.handler.native_file ' ,
27
+ 'auto_start ' => true ,
27
28
'on_demand_mode ' => 'on ' ,
28
29
'name ' => '_SYMFONY ' ,
29
30
'cookie_lifetime ' => 86400 ,
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ framework:
18
18
session :
19
19
storage_id : session.storage.native
20
20
handler_id : session.handler.native_file
21
+ auto_start : true
21
22
on_demand_mode : on
22
23
name : _SYMFONY
23
24
cookie_lifetime : 86400
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ public function testSession()
98
98
$ this ->assertEquals ('session.handler.native_file ' , (string ) $ container ->getAlias ('session.handler ' ));
99
99
100
100
$ this ->assertTrue ($ container ->getParameter ('session.auto_start ' ));
101
- $ this ->assertEquals ($ container ->getParameter ('session.storage.on_demand_mode ' ), 1 );
101
+ $ this ->assertEquals ($ container ->getParameter ('session.storage.on_demand_mode ' ), ' on ' );
102
102
103
103
$ options = $ container ->getParameter ('session.storage.options ' );
104
104
$ this ->assertEquals ('_SYMFONY ' , $ options ['name ' ]);
You can’t perform that action at this time.
0 commit comments