mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-24 15:57:56 +00:00
:octocat: inject QRDataModeInterface
This commit is contained in:
@@ -20,7 +20,7 @@ use chillerlan\QRCode\Data\{AlphaNum, QRCodeDataException};
|
||||
final class AlphaNumTest extends DatainterfaceTestAbstract{
|
||||
|
||||
/** @internal */
|
||||
protected array $testdata = [AlphaNum::class, '0 $%*+-./:'];
|
||||
protected array $testdata = [AlphaNum::class, '0 $%*+-./:'];
|
||||
|
||||
/** @internal */
|
||||
protected array $expected = [
|
||||
@@ -46,7 +46,9 @@ final class AlphaNumTest extends DatainterfaceTestAbstract{
|
||||
$this->expectException(QRCodeDataException::class);
|
||||
$this->expectExceptionMessage('illegal char: "#" [35]');
|
||||
|
||||
$this->dataInterface->setData([[AlphaNum::class, '#']]);
|
||||
$this->testdata = [AlphaNum::class, '#'];
|
||||
|
||||
$this->setTestData();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user