🔥 v6.0 third pass: test clean-up (again)

This commit is contained in:
smiley
2023-11-26 18:42:45 +01:00
parent 2478f75324
commit 2d2a00fabb
37 changed files with 398 additions and 249 deletions
+11 -3
View File
@@ -10,7 +10,10 @@
namespace chillerlan\QRCodeTest\Output;
use chillerlan\QRCode\Output\QRStringJSON;
use chillerlan\QRCode\QROptions;
use chillerlan\QRCode\Data\QRMatrix;
use chillerlan\QRCode\Output\{QROutputInterface, QRStringJSON};
use chillerlan\Settings\SettingsContainerInterface;
use PHPUnit\Framework\Attributes\DataProvider;
use function extension_loaded;
@@ -19,8 +22,6 @@ use function extension_loaded;
*/
final class QRStringJSONTest extends QROutputTestAbstract{
protected string $FQN = QRStringJSON::class;
/**
* @inheritDoc
*/
@@ -33,6 +34,13 @@ final class QRStringJSONTest extends QROutputTestAbstract{
parent::setUp();
}
protected function getOutputInterface(
SettingsContainerInterface|QROptions $options,
QRMatrix $matrix
):QROutputInterface{
return new QRStringJSON($options, $matrix);
}
public static function moduleValueProvider():array{
return [[null, false]];
}