Skip to content

Commit da604a8

Browse files
committed
use annotation instead
1 parent 65a594d commit da604a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/PhpWord/Shared/HtmlTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,11 +521,12 @@ public function testParseRemoteLocalImage()
521521

522522
/**
523523
* Test parsing of remote img that can be found locally
524+
*
525+
* @expectedException \Exception
524526
*/
525527
public function testCouldNotLoadImage()
526528
{
527529
$src = 'https://fakedomain.io/images/firefox.png';
528-
$this->expectException(\Exception::class);
529530

530531
$phpWord = new \PhpOffice\PhpWord\PhpWord();
531532
$section = $phpWord->addSection();

0 commit comments

Comments
 (0)