diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-12-02 13:51:36 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-12-03 12:10:55 +0100 |
commit | ea4c25609dd23345fa1f639479421ff318e6f6c9 (patch) | |
tree | 835bd7798a9b0cd4bb8dc5cf2bd4054775a89a67 /tests/lib/files/node | |
parent | e9029f94cb6eb9b37623ea1a2faf8aac11675900 (diff) | |
download | nextcloud-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/files/node')
-rw-r--r-- | tests/lib/files/node/integration.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/files/node/integration.php b/tests/lib/files/node/integration.php index fd777460ec6..d8c180cc844 100644 --- a/tests/lib/files/node/integration.php +++ b/tests/lib/files/node/integration.php @@ -48,7 +48,7 @@ class IntegrationTests extends \Test\TestCase { \OC_Hook::connect('OC_Filesystem', 'post_rename', '\OC\Files\Cache\Updater', 'renameHook'); \OC_Hook::connect('OC_Filesystem', 'post_touch', '\OC\Files\Cache\Updater', 'touchHook'); - $user = new User(uniqid('user'), new \OC_User_Dummy); + $user = new User($this->getUniqueID('user'), new \OC_User_Dummy); \OC_User::setUserId($user->getUID()); $this->view = new View(); $this->root = new Root($manager, $this->view, $user); |