summaryrefslogtreecommitdiffstats
path: root/tests/lib/util.php
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-08-15 08:49:19 +0200
committerkondou <kondou@ts.unde.re>2013-08-15 15:57:32 +0200
commit9c5416fe4a12acf5631b8822feb942143bf2408f (patch)
treea9d6297ae8400cdf73b1a48a22391c9fae3cced5 /tests/lib/util.php
parentb9f3bb24261961ead93fb76c1295066cfa666299 (diff)
downloadnextcloud-server-9c5416fe4a12acf5631b8822feb942143bf2408f.tar.gz
nextcloud-server-9c5416fe4a12acf5631b8822feb942143bf2408f.zip
Clean up \OC\Util
- Use camelCase - Add some phpdoc - Fix some indents - Use some more spacing
Diffstat (limited to 'tests/lib/util.php')
-rw-r--r--tests/lib/util.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/util.php b/tests/lib/util.php
index 13aa49c8c6f..d607a3e7725 100644
--- a/tests/lib/util.php
+++ b/tests/lib/util.php
@@ -71,8 +71,8 @@ class Test_Util extends PHPUnit_Framework_TestCase {
$this->assertTrue(\OC_Util::isInternetConnectionEnabled());
}
- function testGenerate_random_bytes() {
- $result = strlen(OC_Util::generate_random_bytes(59));
+ function testGenerateRandomBytes() {
+ $result = strlen(OC_Util::generateRandomBytes(59));
$this->assertEquals(59, $result);
}