mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge branch '3.5' into 3.6
This commit is contained in:
commit
7b0500982e
@ -113,7 +113,7 @@ class SessionTest extends SapphireTest {
|
|||||||
|
|
||||||
// Verify a started session resets our values (initiated by $_SESSION object)
|
// Verify a started session resets our values (initiated by $_SESSION object)
|
||||||
/** @var Session $s3 */
|
/** @var Session $s3 */
|
||||||
$s3 = Injector::inst()->create('Session', []);
|
$s3 = Injector::inst()->create('Session', array());
|
||||||
foreach ($data as $key => $value) {
|
foreach ($data as $key => $value) {
|
||||||
$s3->inst_set($key, $value);
|
$s3->inst_set($key, $value);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user