mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/10941] Minor typo fixes
Removed superfluous $user = null; that was left over from refactoring. PHPBB3-10941
This commit is contained in:
parent
1bb64ab23e
commit
61d74007a4
2 changed files with 1 additions and 3 deletions
|
@ -78,7 +78,7 @@ class phpbb_functional_fileupload_test extends phpbb_functional_test_case
|
|||
// Test 1: Invalid extension
|
||||
$upload = new fileupload('', array('jpg'), 100);
|
||||
$file = $upload->remote_upload('http://example.com/image.gif');
|
||||
$this->assertEquals('URL_INVALID',$file->error[0]);
|
||||
$this->assertEquals('URL_INVALID', $file->error[0]);
|
||||
|
||||
// Test 2: Non-existant file
|
||||
$upload = new fileupload('', array('jpg'), 100);
|
||||
|
|
|
@ -132,8 +132,6 @@ class phpbb_filespec_test extends phpbb_test_case
|
|||
$this->filespec->filesize = $this->filespec->get_filesize($this->path . $filename);
|
||||
|
||||
$this->assertEquals($expected, $this->filespec->additional_checks());
|
||||
|
||||
$user = null;
|
||||
}
|
||||
|
||||
public function check_content_variables()
|
||||
|
|
Loading…
Add table
Reference in a new issue