use annotation instead

This commit is contained in:
troosan 2018-05-27 20:53:42 +02:00
parent 65a594d271
commit da604a80c4
1 changed files with 2 additions and 1 deletions

View File

@ -521,11 +521,12 @@ class HtmlTest extends \PHPUnit\Framework\TestCase
/**
* Test parsing of remote img that can be found locally
*
* @expectedException \Exception
*/
public function testCouldNotLoadImage()
{
$src = 'https://fakedomain.io/images/firefox.png';
$this->expectException(\Exception::class);
$phpWord = new \PhpOffice\PhpWord\PhpWord();
$section = $phpWord->addSection();