Skip to content

Commit e7535d3

Browse files
committed
fixed the test
1 parent 57b1ae4 commit e7535d3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/PhpWordTests/Writer/Word2007/Element/CheckBoxTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
class CheckBoxTest extends TestCase
1313
{
1414
/**
15-
* @dataProvider checkBoxColorProvider
15+
* @dataProvider checkBoxCheckedProvider
1616
*/
1717
public function testCheckBoxGeneratesCorrectXml(
1818
string $expectedCheckedAttribute
@@ -32,16 +32,16 @@ public function testCheckBoxGeneratesCorrectXml(
3232
}
3333

3434
/**
35-
* Data provider for testing different combinations of background and border colors.
35+
* Data provider for testing checked state.
3636
*/
37-
public static function checkBoxColorProvider(): array
37+
public static function checkBoxCheckedProvider(): array
3838
{
3939
return [
4040
'Default checked' => [
41-
'w:val="1"',
41+
'w:default w:val="1"',
4242
],
4343
'Default unchecked' => [
44-
'w:val="0"',
44+
'w:default w:val="0"',
4545
],
4646
];
4747
}

0 commit comments

Comments
 (0)