We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 175bd1f commit b2c75c4Copy full SHA for b2c75c4
lib/filestorage/tests/file_system_test.php
@@ -925,7 +925,7 @@ public function test_get_content_file_handle_invalid() {
925
$fs->method('get_remote_path_from_storedfile')
926
->willReturn(__FILE__);
927
928
- $this->expectException('coding_exception', 'Unexpected file handle type');
+ $this->setExpectedException('coding_exception', 'Unexpected file handle type');
929
$fs->get_content_file_handle($file, -1);
930
}
931
0 commit comments