Skip to content

Commit

Permalink
Modify expected exception message
Browse files Browse the repository at this point in the history
Also known as patch C
  • Loading branch information
kenneth-hendricks committed Mar 1, 2017
1 parent b2c75c4 commit 314486b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/filestorage/tests/file_system_filedir_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ public function test_add_file_from_path_file_unavailable() {
$vfileroot = $this->setup_vfile_root();

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

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

0 comments on commit 314486b

Please sign in to comment.