Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Avatar/UserAvatarTest.php2
-rw-r--r--tests/lib/DB/LegacyDBTest.php2
-rw-r--r--tests/lib/Files/Stream/EncryptionTest.php4
-rw-r--r--tests/lib/Mail/MessageTest.php2
-rw-r--r--tests/lib/TagsTest.php2
5 files changed, 6 insertions, 6 deletions
diff --git a/tests/lib/Avatar/UserAvatarTest.php b/tests/lib/Avatar/UserAvatarTest.php
index 43e325b0941..ed0a32dab6f 100644
--- a/tests/lib/Avatar/UserAvatarTest.php
+++ b/tests/lib/Avatar/UserAvatarTest.php
@@ -70,7 +70,7 @@ class UserAvatarTest extends \Test\TestCase {
return false;
}));
- $data = NULL;
+ $data = null;
$file->method('putContent')
->with($this->callback(function ($d) use (&$data) {
$data = $d;
diff --git a/tests/lib/DB/LegacyDBTest.php b/tests/lib/DB/LegacyDBTest.php
index 200afac3f9a..ce7ef0a3a63 100644
--- a/tests/lib/DB/LegacyDBTest.php
+++ b/tests/lib/DB/LegacyDBTest.php
@@ -16,7 +16,7 @@ use OC_DB;
* @group DB
*/
class LegacyDBTest extends \Test\TestCase {
- protected $backupGlobals = FALSE;
+ protected $backupGlobals = false;
protected static $schema_file;
protected $test_prefix;
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);
diff --git a/tests/lib/Mail/MessageTest.php b/tests/lib/Mail/MessageTest.php
index ab62cfcfdcb..4d61504cd97 100644
--- a/tests/lib/Mail/MessageTest.php
+++ b/tests/lib/Mail/MessageTest.php
@@ -36,7 +36,7 @@ class MessageTest extends TestCase {
*/
public function getMailAddressProvider() {
return array(
- array(NULL, array()),
+ array(null, array()),
array(array('lukas@owncloud.com' => 'Lukas Reschke'), array('lukas@owncloud.com' => 'Lukas Reschke')),
);
}
diff --git a/tests/lib/TagsTest.php b/tests/lib/TagsTest.php
index db0a77f68f0..ab717b4cc2f 100644
--- a/tests/lib/TagsTest.php
+++ b/tests/lib/TagsTest.php
@@ -36,7 +36,7 @@ class TagsTest extends \Test\TestCase {
protected $user;
/** @var \OCP\IUserSession */
protected $userSession;
- protected $backupGlobals = FALSE;
+ protected $backupGlobals = false;
/** @var \OC\Tagging\TagMapper */
protected $tagMapper;
/** @var \OCP\ITagManager */