use annotation instead
This commit is contained in:
parent
65a594d271
commit
da604a80c4
@ -521,11 +521,12 @@ class HtmlTest extends \PHPUnit\Framework\TestCase
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Test parsing of remote img that can be found locally
|
* Test parsing of remote img that can be found locally
|
||||||
|
*
|
||||||
|
* @expectedException \Exception
|
||||||
*/
|
*/
|
||||||
public function testCouldNotLoadImage()
|
public function testCouldNotLoadImage()
|
||||||
{
|
{
|
||||||
$src = 'https://fakedomain.io/images/firefox.png';
|
$src = 'https://fakedomain.io/images/firefox.png';
|
||||||
$this->expectException(\Exception::class);
|
|
||||||
|
|
||||||
$phpWord = new \PhpOffice\PhpWord\PhpWord();
|
$phpWord = new \PhpOffice\PhpWord\PhpWord();
|
||||||
$section = $phpWord->addSection();
|
$section = $phpWord->addSection();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user