summaryrefslogtreecommitdiffstats
path: root/tests/lib/db.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-06-14 12:13:37 +0200
committerBart Visscher <bartv@thisnet.nl>2014-02-12 09:09:45 +0100
commitaddd0fba3887edafd03b3c22efa6f8276e1884dc (patch)
tree495f241b04ab630ea3e0f57978d5f5f7a7052098 /tests/lib/db.php
parentbea80ffe2060407e5d849a86f71fae2eed80b08e (diff)
downloadnextcloud-server-addd0fba3887edafd03b3c22efa6f8276e1884dc.tar.gz
nextcloud-server-addd0fba3887edafd03b3c22efa6f8276e1884dc.zip
number as number
Diffstat (limited to 'tests/lib/db.php')
-rw-r--r--tests/lib/db.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/db.php b/tests/lib/db.php
index f0b271a36f1..2fca67b5638 100644
--- a/tests/lib/db.php
+++ b/tests/lib/db.php
@@ -30,7 +30,7 @@ class Test_DB extends PHPUnit_Framework_TestCase {
public function setUp() {
$dbfile = OC::$SERVERROOT.'/tests/data/db_structure.xml';
- $r = '_'.OC_Util::generateRandomBytes('4').'_';
+ $r = '_'.OC_Util::generateRandomBytes(4).'_';
$content = file_get_contents( $dbfile );
$content = str_replace( '*dbprefix*', '*dbprefix*'.$r, $content );
file_put_contents( self::$schema_file, $content );