summaryrefslogtreecommitdiffstats
path: root/tests/lib/util.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-01-10 22:07:33 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2016-01-10 22:07:33 +0100
commite01a488b3136ec7b0f2614cd49e4cf1afce1f655 (patch)
tree39354b0faa1b5a74a85aac044ba302163d2f701d /tests/lib/util.php
parent656b5418996744b5ba095afac59b4fdb4db37337 (diff)
downloadnextcloud-server-e01a488b3136ec7b0f2614cd49e4cf1afce1f655.tar.gz
nextcloud-server-e01a488b3136ec7b0f2614cd49e4cf1afce1f655.zip
Remove generateRandomBytes from OC_Util
Diffstat (limited to 'tests/lib/util.php')
-rw-r--r--tests/lib/util.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/lib/util.php b/tests/lib/util.php
index cb5d28b48a7..f05a33766b7 100644
--- a/tests/lib/util.php
+++ b/tests/lib/util.php
@@ -138,11 +138,6 @@ class Test_Util extends \Test\TestCase {
$this->assertEquals($expected, \OC_Util::fileInfoLoaded());
}
- function testGenerateRandomBytes() {
- $result = strlen(OC_Util::generateRandomBytes(59));
- $this->assertEquals(59, $result);
- }
-
function testGetDefaultEmailAddress() {
$email = \OCP\Util::getDefaultEmailAddress("no-reply");
$this->assertEquals('no-reply@localhost', $email);