mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Remove all session data in TestSession that might've been set by the test harness (necessary for test runs through the phpunit binary)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@111046 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
5073266b11
commit
1aebd6dd76
@ -35,6 +35,8 @@ class SessionTest extends SapphireTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function testGetAllElements() {
|
function testGetAllElements() {
|
||||||
|
Session::clear_all(); // Remove all session that might've been set by the test harness
|
||||||
|
|
||||||
Session::set('Test', 'Test');
|
Session::set('Test', 'Test');
|
||||||
Session::set('Test-2', 'Test-2');
|
Session::set('Test-2', 'Test-2');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user