Skip to content

Commit 6e8bda5

Browse files
author
Peter Lind
committed
adjusting test code to work with php 5.3
1 parent ccd068d commit 6e8bda5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/PhpPresentation/Tests/Writer/PowerPoint2007/PptSlideMastersTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ public function testWriteSlideMasterRelationships()
1717
{
1818
$writer = new PptSlideMasters();
1919
$slideMaster = $this->getMockBuilder('PhpOffice\\PhpPresentation\\Slide\\SlideMaster')
20-
->setMethods(['getAllSlideLayouts', 'getRelsIndex', 'getShapeCollection'])
20+
->setMethods(array('getAllSlideLayouts', 'getRelsIndex', 'getShapeCollection'))
2121
->getMock();
2222

23-
$layouts = [new SlideLayout($slideMaster)];
23+
$layouts = array(new SlideLayout($slideMaster));
2424

2525
$slideMaster->expects($this->once())
2626
->method('getAllSlideLayouts')

0 commit comments

Comments
 (0)