mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-26 03:48:53 +00:00
Merge pull request #3523 from Nicofuma/ticket/13747
[ticket/13747] Add assertions to test_validate_path_linux
This commit is contained in:
commit
84df225038
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,
|
||||
$error
|
||||
);
|
||||
|
||||
if ($expected === true)
|
||||
{
|
||||
$this->assertEmpty($error);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->assertEquals(array($expected), $error);
|
||||
}
|
||||
}
|
||||
|
||||
public function data_validate_path_windows()
|
||||
|
|
Loading…
Add table
Reference in a new issue