projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #13872 from seamuslee001/composer_2_0_compatability
[civicrm-core.git]
/
tests
/
phpunit
/
CiviTest
/
CiviUnitTestCase.php
diff --git
a/tests/phpunit/CiviTest/CiviUnitTestCase.php
b/tests/phpunit/CiviTest/CiviUnitTestCase.php
index c12a2dd92e3438df902b81f0d29a2622e65b448a..08762b0ca6a9614b916207dc4d8f060af026b143 100644
(file)
--- a/
tests/phpunit/CiviTest/CiviUnitTestCase.php
+++ b/
tests/phpunit/CiviTest/CiviUnitTestCase.php
@@
-413,8
+413,7
@@
class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase {
if ($this->hookClass) {
$this->hookClass->reset();
}
- $session = CRM_Core_Session::singleton();
- $session->set('userID', NULL);
+ CRM_Core_Session::singleton()->reset(1);
if ($this->tx) {
$this->tx->rollback()->commit();