mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/12202] Fix tests
PHPBB3-12202
This commit is contained in:
parent
49734db9cd
commit
50dd76aef3
1 changed files with 5 additions and 5 deletions
|
@ -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,15 +80,15 @@ foobar2 = \'qwer\'',
|
||||||
bar = <a href="test">Test</a>',
|
bar = <a href="test">Test</a>',
|
||||||
array(
|
array(
|
||||||
'foo' => '&amp; bar',
|
'foo' => '&amp; bar',
|
||||||
'bar' => '<a href='test'>Test</a>',
|
'bar' => '<a href="test">Test</a>',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @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)
|
||||||
{
|
{
|
||||||
$lines = explode("\n", $file_contents);
|
$lines = explode("\n", $file_contents);
|
||||||
|
|
Loading…
Add table
Reference in a new issue