File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ public function testAddImageSectionByUrl()
168
168
{
169
169
$ oCell = new Cell ();
170
170
$ element = $ oCell ->addImage (
171
- 'https ://assets.mozillalabs.com/Brands-Logos/Thunderbird/logo-only/thunderbird_logo-only_RGB.png '
171
+ 'http ://php.net/images/logos/php-med-trans-light.gif '
172
172
);
173
173
174
174
$ this ->assertCount (1 , $ oCell ->getElements ());
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ public function testAddImageByUrl()
119
119
{
120
120
$ oFooter = new Footer (1 );
121
121
$ element = $ oFooter ->addImage (
122
- 'https ://assets.mozillalabs.com/Brands-Logos/Thunderbird/logo-only/thunderbird_logo-only_RGB.png '
122
+ 'http ://php.net/images/logos/php-med-trans-light.gif '
123
123
);
124
124
125
125
$ this ->assertCount (1 , $ oFooter ->getElements ());
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ public function testAddImageByUrl()
128
128
{
129
129
$ oHeader = new Header (1 );
130
130
$ element = $ oHeader ->addImage (
131
- 'https ://assets.mozillalabs.com/Brands-Logos/Thunderbird/logo-only/thunderbird_logo-only_RGB.png '
131
+ 'http ://php.net/images/logos/php-med-trans-light.gif '
132
132
);
133
133
134
134
$ this ->assertCount (1 , $ oHeader ->getElements ());
Original file line number Diff line number Diff line change 14
14
* @copyright 2010-2014 PHPWord contributors
15
15
* @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3
16
16
*/
17
- namespace PhpOffice \PhpWord \Tests \Writer \Word2007 \ Part ;
17
+ namespace PhpOffice \PhpWord \Tests \Writer \Word2007 ;
18
18
19
19
use PhpOffice \PhpWord \Writer \Word2007 \Part \RelsPart ;
20
20
@@ -35,7 +35,7 @@ class PartTest extends \PHPUnit_Framework_TestCase
35
35
public function testRelsWriteRelException ()
36
36
{
37
37
$ object = new RelsPart ();
38
- $ object ->setMedia (array (array ('foo ' => 'bar ' )));
38
+ $ object ->setMedia (array (array ('type ' => '' , ' target ' => ' ' )));
39
39
$ object ->write ();
40
40
}
41
41
}
You can’t perform that action at this time.
0 commit comments