summaryrefslogtreecommitdiffstats
path: root/tests/lib/Files
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-03-25 21:53:04 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-03-25 21:53:04 +0100
commit23eb0462e56d72ed24b7b02483069844bd2919b8 (patch)
tree0d1917534ef451fa259eb89ddabdf9449e83d7c3 /tests/lib/Files
parent3cf321fdfc4235a87015a9af2f59c63220016c65 (diff)
downloadnextcloud-server-23eb0462e56d72ed24b7b02483069844bd2919b8.tar.gz
nextcloud-server-23eb0462e56d72ed24b7b02483069844bd2919b8.zip
Use lowercase true, false and null constants
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests/lib/Files')
-rw-r--r--tests/lib/Files/Stream/EncryptionTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Files/Stream/EncryptionTest.php b/tests/lib/Files/Stream/EncryptionTest.php
index fd5e8c6ca9d..e2213365d5f 100644
--- a/tests/lib/Files/Stream/EncryptionTest.php
+++ b/tests/lib/Files/Stream/EncryptionTest.php
@@ -205,9 +205,9 @@ class EncryptionTest extends \Test\TestCase {
$fileName = tempnam("/tmp", "FOO");
$stream = $this->getStream($fileName, 'w+', 0);
$this->assertEquals(6, fwrite($stream, 'foobar'));
- $this->assertEquals(TRUE, rewind($stream));
+ $this->assertEquals(true, rewind($stream));
$this->assertEquals('foobar', fread($stream, 100));
- $this->assertEquals(TRUE, rewind($stream));
+ $this->assertEquals(true, rewind($stream));
$this->assertEquals(3, fwrite($stream, 'bar'));
fclose($stream);