aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functions
diff options
context:
space:
mode:
authorNathaniel Guse <nathaniel.guse@gmail.com>2014-03-09 17:16:45 -0500
committerNathaniel Guse <nathaniel.guse@gmail.com>2014-03-09 17:16:45 -0500
commit50dd76aef356e38cd774e1fb4b29b59453233418 (patch)
treebad1a919a47052aa241ab1984152254f35ee4358 /tests/functions
parent49734db9cd2ad8ab6eb6a97f56f7ab712899e281 (diff)
downloadforums-50dd76aef356e38cd774e1fb4b29b59453233418.tar
forums-50dd76aef356e38cd774e1fb4b29b59453233418.tar.gz
forums-50dd76aef356e38cd774e1fb4b29b59453233418.tar.bz2
forums-50dd76aef356e38cd774e1fb4b29b59453233418.tar.xz
forums-50dd76aef356e38cd774e1fb4b29b59453233418.zip
[ticket/12202] Fix tests
PHPBB3-12202
Diffstat (limited to 'tests/functions')
-rw-r--r--tests/functions/parse_cfg_file_test.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/functions/parse_cfg_file_test.php b/tests/functions/parse_cfg_file_test.php
index daa0062c96..43a90ded4f 100644
--- a/tests/functions/parse_cfg_file_test.php
+++ b/tests/functions/parse_cfg_file_test.php
@@ -54,10 +54,10 @@ version = 3.0.12',
),
),
array(
- 'foo = yes
+ 'foo = on
foo1 = true
foo2 = 1
-bar = no
+bar = off
bar1 = false
bar2 = 0
foobar =
@@ -80,15 +80,15 @@ foobar2 = \'qwer\'',
bar = <a href="test">Test</a>',
array(
'foo' => '&amp;amp; bar',
- 'bar' => '&lt;a href=&#039;test&#039;&gt;Test&lt;/a&gt;',
+ 'bar' => '&lt;a href=&quot;test&quot;&gt;Test&lt;/a&gt;',
),
),
);
}
/**
- * @dataprovider parse_cfg_file_data
- */
+ * @dataProvider parse_cfg_file_data
+ */
public function test_parse_cfg_file($file_contents, $expected)
{
$lines = explode("\n", $file_contents);