mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-03 18:38:18 +00:00
:octocat: phpunit 8.0
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
namespace chillerlan\QRCodeTest\Data;
|
||||
|
||||
use chillerlan\QRCode\Data\AlphaNum;
|
||||
use chillerlan\QRCode\Data\{AlphaNum, QRCodeDataException};
|
||||
|
||||
class AlphaNumTest extends DatainterfaceTestAbstract{
|
||||
|
||||
@@ -34,11 +34,10 @@ class AlphaNumTest extends DatainterfaceTestAbstract{
|
||||
92, 112, 20, 198, 27
|
||||
];
|
||||
|
||||
/**
|
||||
* @expectedException \chillerlan\QRCode\Data\QRCodeDataException
|
||||
* @expectedExceptionMessage illegal char: "#" [35]
|
||||
*/
|
||||
public function testGetCharCodeException(){
|
||||
$this->expectException(QRCodeDataException::class);
|
||||
$this->expectExceptionMessage('illegal char: "#" [35]');
|
||||
|
||||
$this->dataInterface->setData('#');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user