Fix constant use in UploadTest
/**
* Get an UploadStash associated with this repo.
+ *
+ * @return UploadStash
*/
function getUploadStash() {
return new UploadStash( $this );
* API request to find this stashed file again.
*
* @param $key String: (optional) the session key used to find the file info again. If not supplied, a key will be autogenerated.
- * @return File stashed file
+ * @return UploadStashFile stashed file
*/
public function stashSessionFile( $key = null ) {
$stash = RepoGroup::singleton()->getLocalRepo()->getUploadStash();
unlink( $filename );
$this->assertEquals(
- array( 'status' => UploadTestHandler::OK ), $result );
+ array( 'status' => UploadBase::OK ), $result );
$wgMaxUploadSize = $savedGlobal; // restore global
}