🛀 test overhaul

This commit is contained in:
smiley
2025-11-02 00:48:56 +01:00
parent b9d2059743
commit c99f5d4022
36 changed files with 356 additions and 333 deletions
+6 -1
View File
@@ -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