mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-09 13:25:55 +00:00
:octocat: remove non-empty content restriction
This commit is contained in:
@@ -43,14 +43,4 @@ final class QRCodeTest extends TestCase{
|
||||
(new QRCode($this->options))->render('test');
|
||||
}
|
||||
|
||||
/**
|
||||
* tests if an exception is thrown when trying to call getMatrix() without data (empty string, no data set)
|
||||
*/
|
||||
public function testGetMatrixException():void{
|
||||
$this->expectException(QRCodeDataException::class);
|
||||
$this->expectExceptionMessage('QRCode::getMatrix() No data given.');
|
||||
|
||||
$this->qrcode->getMatrix();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user