mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-23 22:17:58 +00:00
🛀 test overhaul
This commit is contained in:
@@ -16,7 +16,11 @@ use chillerlan\QRCode\Data\QRMatrix;
|
||||
use chillerlan\QRCode\Output\{QROutputInterface, QRStringJSON};
|
||||
use chillerlan\QRCodeTest\Traits\CssColorModuleValueProviderTrait;
|
||||
use chillerlan\Settings\SettingsContainerInterface;
|
||||
use PHPUnit\Framework\Attributes\Test;
|
||||
|
||||
/**
|
||||
* Tests the QRStringJSON output class
|
||||
*/
|
||||
final class QRStringJSONTest extends QROutputTestAbstract{
|
||||
use CssColorModuleValueProviderTrait;
|
||||
|
||||
@@ -27,7 +31,8 @@ final class QRStringJSONTest extends QROutputTestAbstract{
|
||||
return new QRStringJSON($options, $matrix);
|
||||
}
|
||||
|
||||
public function testSetModuleValues():void{
|
||||
#[Test]
|
||||
public function setModuleValues():void{
|
||||
|
||||
$this->options->moduleValues = [
|
||||
// data
|
||||
|
||||
Reference in New Issue
Block a user