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/view.php | |
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/view.php')
-rw-r--r-- | tests/lib/files/view.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/files/view.php b/tests/lib/files/view.php index d6dd176bba9..8bb4e0ac2cc 100644 --- a/tests/lib/files/view.php +++ b/tests/lib/files/view.php @@ -71,7 +71,7 @@ class View extends \Test\TestCase { $storage1 = $this->getTestStorage(); $storage2 = $this->getTestStorage(); $storage3 = $this->getTestStorage(); - $root = '/' . uniqid(); + $root = $this->getUniqueID('/'); \OC\Files\Filesystem::mount($storage1, array(), $root . '/'); \OC\Files\Filesystem::mount($storage2, array(), $root . '/substorage'); \OC\Files\Filesystem::mount($storage3, array(), $root . '/folder/anotherstorage'); |