:octocat: phpunit 8.0

This commit is contained in:
codemasher
2019-03-01 17:30:52 +01:00
parent 00b521ba76
commit 709f62e557
12 changed files with 66 additions and 74 deletions
+4 -5
View File
@@ -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('#');
}