mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-23 10:01:55 +02:00
[ticket/13747] Add assertions to test_validate_path_linux
PHPBB3-13747
This commit is contained in:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user