diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-03-14 18:16:20 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-03-14 18:16:20 +0100 |
commit | fe05c0c81bba1e2203f6ec5c8fbe1007281e1d45 (patch) | |
tree | 03be1005d95bc20d6ea897386c2e7a281296bcdd /tests/startsessionlistener.php | |
parent | fc697c729811e5644e2c7bc884bd54d3ff092ac8 (diff) | |
download | nextcloud-server-fe05c0c81bba1e2203f6ec5c8fbe1007281e1d45.tar.gz nextcloud-server-fe05c0c81bba1e2203f6ec5c8fbe1007281e1d45.zip |
move session reset to endTest() - necessary because we need a valid session in the next unit tests setUp() call
Diffstat (limited to 'tests/startsessionlistener.php')
-rw-r--r-- | tests/startsessionlistener.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/startsessionlistener.php b/tests/startsessionlistener.php index fb7fa83e090..7559b8cff65 100644 --- a/tests/startsessionlistener.php +++ b/tests/startsessionlistener.php @@ -24,16 +24,14 @@ class StartSessionListener implements PHPUnit_Framework_TestListener { } public function startTest(PHPUnit_Framework_Test $test) { + } + public function endTest(PHPUnit_Framework_Test $test, $time) { // new session \OC::$session = new \OC\Session\Memory(''); // load the version OC_Util::getVersion(); - - } - - public function endTest(PHPUnit_Framework_Test $test, $time) { } public function startTestSuite(PHPUnit_Framework_TestSuite $suite) { |