mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-22 02:50:00 +01:00
[ticket/13904] Test move file on existing error
PHPBB3-13904
This commit is contained in:
parent
46e3d82196
commit
7ba0fe47a8
@ -395,6 +395,14 @@ class phpbb_filespec_test extends phpbb_test_case
|
|||||||
$this->phpbb_root_path = $phpbb_root_path;
|
$this->phpbb_root_path = $phpbb_root_path;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function test_move_file_error()
|
||||||
|
{
|
||||||
|
$filespec = $this->get_filespec();
|
||||||
|
$this->assertFalse($filespec->move_file('foobar'));
|
||||||
|
$filespec->error[] = 'foo';
|
||||||
|
$this->assertFalse($filespec->move_file('foo'));
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @dataProvider clean_filename_variables
|
* @dataProvider clean_filename_variables
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user