File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
tests/PhpWordTests/Writer/Word2007/Element Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1212class 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 }
You can’t perform that action at this time.
0 commit comments