We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65a594d commit da604a8Copy full SHA for da604a8
tests/PhpWord/Shared/HtmlTest.php
@@ -521,11 +521,12 @@ public function testParseRemoteLocalImage()
521
522
/**
523
* Test parsing of remote img that can be found locally
524
+ *
525
+ * @expectedException \Exception
526
*/
527
public function testCouldNotLoadImage()
528
{
529
$src = 'https://fakedomain.io/images/firefox.png';
- $this->expectException(\Exception::class);
530
531
$phpWord = new \PhpOffice\PhpWord\PhpWord();
532
$section = $phpWord->addSection();
0 commit comments