mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-21 21:03:11 +00:00
🔥 v6.0 third pass: test clean-up (again)
This commit is contained in:
@@ -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]];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user