Skip to content

Commit 314486b

Browse files
Modify expected exception message
Also known as patch C
1 parent b2c75c4 commit 314486b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/filestorage/tests/file_system_filedir_test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ public function test_add_file_from_path_file_unavailable() {
694694
$vfileroot = $this->setup_vfile_root();
695695

696696
$this->setExpectedException('file_exception',
697-
'Cannot read file. Either the file does not exist or there is a permission problem.');
697+
'Can not read file, either file does not exist or there are permission problems');
698698

699699
$fs = new file_system_filedir();
700700
$fs->add_file_from_path(\org\bovigo\vfs\vfsStream::url('filedir/file'));

0 commit comments

Comments
 (0)