mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-13 15:27:14 +00:00
🛀 QRDataModeInterface: validate data on init, test cleanup
This commit is contained in:
+8
-18
@@ -17,24 +17,14 @@ use chillerlan\QRCode\Data\Byte;
|
||||
*/
|
||||
final class ByteTest extends DatainterfaceTestAbstract{
|
||||
|
||||
/** @internal */
|
||||
protected array $testdata = [Byte::class, '[¯\_(ツ)_/¯]'];
|
||||
protected string $FQN = Byte::class;
|
||||
protected string $testdata = '[¯\_(ツ)_/¯]';
|
||||
|
||||
/** @internal */
|
||||
protected array $expected = [
|
||||
64, 245, 188, 42, 245, 197, 242, 142,
|
||||
56, 56, 66, 149, 242, 252, 42, 245,
|
||||
208, 236, 17, 236, 17, 236, 17, 236,
|
||||
17, 236, 17, 236, 17, 236, 17, 236,
|
||||
17, 236, 17, 236, 17, 236, 17, 236,
|
||||
17, 236, 17, 236, 17, 236, 17, 236,
|
||||
17, 236, 17, 236, 17, 236, 17, 236,
|
||||
17, 236, 17, 236, 17, 236, 17, 236,
|
||||
17, 236, 17, 236, 17, 236, 17, 236,
|
||||
17, 236, 17, 236, 17, 236, 17, 236,
|
||||
79, 89, 226, 48, 209, 89, 151, 1,
|
||||
12, 73, 42, 163, 11, 34, 255, 205,
|
||||
21, 47, 250, 101
|
||||
];
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function testInvalidDataException():void{
|
||||
$this->markTestSkipped('N/A');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user