File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tests/PhpWord/Tests/Style Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ public function testPageWidth()
105
105
// Section Settings
106
106
$ oSettings = new Section ();
107
107
108
- $ this ->assertEquals (11906 , $ oSettings ->getPageSizeW ());
108
+ $ this ->assertEquals (Section:: DEFAULT_WIDTH , $ oSettings ->getPageSizeW ());
109
109
$ iVal = rand (1 , 1000 );
110
110
$ oSettings ->setSettingValue ('pageSizeW ' , $ iVal );
111
111
$ this ->assertEquals ($ iVal , $ oSettings ->getPageSizeW ());
@@ -119,7 +119,7 @@ public function testPageHeight()
119
119
// Section Settings
120
120
$ oSettings = new Section ();
121
121
122
- $ this ->assertEquals (16838 , $ oSettings ->getPageSizeH ());
122
+ $ this ->assertEquals (Section:: DEFAULT_HEIGHT , $ oSettings ->getPageSizeH ());
123
123
$ iVal = rand (1 , 1000 );
124
124
$ oSettings ->setSettingValue ('pageSizeH ' , $ iVal );
125
125
$ this ->assertEquals ($ iVal , $ oSettings ->getPageSizeH ());
You can’t perform that action at this time.
0 commit comments