mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/13747] Add assertions to test_validate_path_linux
PHPBB3-13747
This commit is contained in:
parent
73a0988f59
commit
8575cc69d1
1 changed files with 9 additions and 0 deletions
|
@ -200,6 +200,15 @@ class phpbb_functions_acp_validate_config_vars_test extends phpbb_test_case
|
||||||
$config_ary,
|
$config_ary,
|
||||||
$error
|
$error
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if ($expected === true)
|
||||||
|
{
|
||||||
|
$this->assertEmpty($error);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->assertEquals(array($expected), $error);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function data_validate_path_windows()
|
public function data_validate_path_windows()
|
||||||
|
|
Loading…
Add table
Reference in a new issue