diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2014-02-18 17:30:26 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2014-02-18 17:30:26 +0100 |
commit | 3b1083f46eb7dd67faddc8214799ee6396ffdea9 (patch) | |
tree | 74c03cc55aed8c776720ff8c0abb4ce2561a73c8 /tests | |
parent | 92560c5b86cb88920b6e439bdf4b90f1d59e9b6c (diff) | |
parent | 2c6411b8977e4d17e6489c5a1b768f9de93ba280 (diff) | |
download | nextcloud-server-3b1083f46eb7dd67faddc8214799ee6396ffdea9.tar.gz nextcloud-server-3b1083f46eb7dd67faddc8214799ee6396ffdea9.zip |
Merge pull request #7176 from owncloud/style
Some style fixes
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/db.php | 2 | ||||
-rw-r--r-- | tests/lib/dbschema.php | 2 |
2 files changed, 2 insertions, 2 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 ); diff --git a/tests/lib/dbschema.php b/tests/lib/dbschema.php index 4a7b7f7aac0..e8a43538004 100644 --- a/tests/lib/dbschema.php +++ b/tests/lib/dbschema.php @@ -16,7 +16,7 @@ class Test_DBSchema extends PHPUnit_Framework_TestCase { $dbfile = OC::$SERVERROOT.'/tests/data/db_structure.xml'; $dbfile2 = OC::$SERVERROOT.'/tests/data/db_structure2.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( $this->schema_file, $content ); |