🔥 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
+9 -2
View File
@@ -10,13 +10,20 @@
namespace chillerlan\QRCodeTest;
use chillerlan\QRCode\Common\GDLuminanceSource;
use chillerlan\QRCode\Common\{GDLuminanceSource, LuminanceSourceInterface};
use chillerlan\QRCode\QROptions;
use chillerlan\Settings\SettingsContainerInterface;
/**
* Tests the GD based reader
*/
final class QRCodeReaderGDTest extends QRCodeReaderTestAbstract{
protected string $FQN = GDLuminanceSource::class;
protected function getLuminanceSourceFromFile(
string $file,
SettingsContainerInterface|QROptions $options
):LuminanceSourceInterface{
return GDLuminanceSource::fromFile($file, $options);
}
}