summaryrefslogtreecommitdiffstats
path: root/tests/lib/api.php
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/api.php
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/api.php')
-rw-r--r--tests/lib/api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/api.php b/tests/lib/api.php
index bf9748a6040..3b925a63960 100644
--- a/tests/lib/api.php
+++ b/tests/lib/api.php
@@ -17,7 +17,7 @@ class Test_API extends \Test\TestCase {
return array(
'shipped' => $shipped,
'response' => new OC_OCS_Result($data, $code, $message),
- 'app' => uniqid('testapp_', true),
+ 'app' => $this->getUniqueID('testapp_'),
);
}