aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functions_acp/validate_config_vars_test.php
diff options
context:
space:
mode:
authorTristan Darricau <tristan.darricau@sensiolabs.com>2015-04-06 13:09:07 +0200
committerTristan Darricau <tristan.darricau@sensiolabs.com>2015-04-06 13:09:07 +0200
commit8575cc69d1906769aaabda8bfce5833ab103b4f8 (patch)
tree5934f949fbeec6d35c3c7d7a0f8d8111b6faa7ca /tests/functions_acp/validate_config_vars_test.php
parent73a0988f59058bfce9b42cb416acf68fc2544f63 (diff)
downloadforums-8575cc69d1906769aaabda8bfce5833ab103b4f8.tar
forums-8575cc69d1906769aaabda8bfce5833ab103b4f8.tar.gz
forums-8575cc69d1906769aaabda8bfce5833ab103b4f8.tar.bz2
forums-8575cc69d1906769aaabda8bfce5833ab103b4f8.tar.xz
forums-8575cc69d1906769aaabda8bfce5833ab103b4f8.zip
[ticket/13747] Add assertions to test_validate_path_linux
PHPBB3-13747
Diffstat (limited to 'tests/functions_acp/validate_config_vars_test.php')
-rw-r--r--tests/functions_acp/validate_config_vars_test.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/functions_acp/validate_config_vars_test.php b/tests/functions_acp/validate_config_vars_test.php
index 4bf6ba3984..32738e4351 100644
--- a/tests/functions_acp/validate_config_vars_test.php
+++ b/tests/functions_acp/validate_config_vars_test.php
@@ -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()