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

github.com/nextcloud/files_texteditor.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/controller/filehandlingcontrollertest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/controller/filehandlingcontrollertest.php b/tests/controller/filehandlingcontrollertest.php
index 34cfa02..901e904 100644
--- a/tests/controller/filehandlingcontrollertest.php
+++ b/tests/controller/filehandlingcontrollertest.php
@@ -109,6 +109,8 @@ class FileHandlingControllerTest extends TestCase {
public function dataTestLoad() {
return array(
array('test.txt', 'file content', 200, ''),
+ array('test.txt', '', 200, ''),
+ array('test.txt', '0', 200, ''),
array('', 'file content', 400, 'Invalid file path supplied.'),
array('test.txt', false, 400, 'Can not read the file.'),
);