diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/controller/filehandlingcontrollertest.php | 2 |
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.'), ); |