summaryrefslogtreecommitdiffstats
path: root/tests/lib/ocs
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/ocs
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/ocs')
-rw-r--r--tests/lib/ocs/privatedata.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/ocs/privatedata.php b/tests/lib/ocs/privatedata.php
index 20f1dd38362..a9300f5beac 100644
--- a/tests/lib/ocs/privatedata.php
+++ b/tests/lib/ocs/privatedata.php
@@ -26,7 +26,7 @@ class Test_OC_OCS_Privatedata extends \Test\TestCase {
protected function setUp() {
parent::setUp();
\OC::$server->getSession()->set('user_id', 'user1');
- $this->appKey = uniqid('app');
+ $this->appKey = $this->getUniqueID('app');
}
public function testGetEmptyOne() {