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:
Ingo Schommer 2010-09-21 20:29:10 +00:00 committed by Sam Minnee
parent 5073266b11
commit 1aebd6dd76

View File

@ -35,6 +35,8 @@ class SessionTest extends SapphireTest {
}
function testGetAllElements() {
Session::clear_all(); // Remove all session that might've been set by the test harness
Session::set('Test', 'Test');
Session::set('Test-2', 'Test-2');