[ticket/12202] Fix tests

PHPBB3-12202
This commit is contained in:
Nathaniel Guse 2014-03-09 17:16:45 -05:00
parent 49734db9cd
commit 50dd76aef3

View file

@ -54,10 +54,10 @@ version = 3.0.12',
), ),
), ),
array( array(
'foo = yes 'foo = on
foo1 = true foo1 = true
foo2 = 1 foo2 = 1
bar = no bar = off
bar1 = false bar1 = false
bar2 = 0 bar2 = 0
foobar = foobar =
@ -80,14 +80,14 @@ foobar2 = \'qwer\'',
bar = <a href="test">Test</a>', bar = <a href="test">Test</a>',
array( array(
'foo' => '&amp;amp; bar', '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) public function test_parse_cfg_file($file_contents, $expected)
{ {