mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-16 00:36:20 +00:00
🛀 data mode rework
This commit is contained in:
+1
-11
@@ -13,8 +13,6 @@
|
||||
namespace chillerlan\QRCodeTest\Data;
|
||||
|
||||
use chillerlan\QRCode\Data\Byte;
|
||||
use chillerlan\QRCode\Data\QRDataInterface;
|
||||
use chillerlan\QRCode\QROptions;
|
||||
|
||||
/**
|
||||
* Tests the Byte class
|
||||
@@ -22,7 +20,7 @@ use chillerlan\QRCode\QROptions;
|
||||
final class ByteTest extends DatainterfaceTestAbstract{
|
||||
|
||||
/** @internal */
|
||||
protected string $testdata = '[¯\_(ツ)_/¯]';
|
||||
protected array $testdata = [Byte::class, '[¯\_(ツ)_/¯]'];
|
||||
|
||||
/** @internal */
|
||||
protected array $expected = [
|
||||
@@ -41,12 +39,4 @@ final class ByteTest extends DatainterfaceTestAbstract{
|
||||
21, 47, 250, 101
|
||||
];
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
* @internal
|
||||
*/
|
||||
protected function getDataInterfaceInstance(QROptions $options):QRDataInterface{
|
||||
return new Byte($options);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user