mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +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(
|
||||
'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; 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)
|
||||
{
|
||||
$lines = explode("\n", $file_contents);
|
||||
|
|
Loading…
Add table
Reference in a new issue