aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/session
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-12-02 13:51:36 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-12-03 12:10:55 +0100
commitea4c25609dd23345fa1f639479421ff318e6f6c9 (patch)
tree835bd7798a9b0cd4bb8dc5cf2bd4054775a89a67 /tests/lib/session
parente9029f94cb6eb9b37623ea1a2faf8aac11675900 (diff)
downloadnextcloud-server-ea4c25609dd23345fa1f639479421ff318e6f6c9.tar.gz
nextcloud-server-ea4c25609dd23345fa1f639479421ff318e6f6c9.zip
Replace uniqid calls with $this->getUniqueID so tests pass again on windows
Diffstat (limited to 'tests/lib/session')
-rw-r--r--tests/lib/session/memory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/session/memory.php b/tests/lib/session/memory.php
index 84dee548a1e..1ca4956c6ea 100644
--- a/tests/lib/session/memory.php
+++ b/tests/lib/session/memory.php
@@ -12,6 +12,6 @@ namespace Test\Session;
class Memory extends Session {
protected function setUp() {
parent::setUp();
- $this->instance = new \OC\Session\Memory(uniqid());
+ $this->instance = new \OC\Session\Memory($this->getUniqueID());
}
}