QRStringJSONTest.php 896 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. /**
  3. * Class QRStringJSONTest
  4. *
  5. * @created 11.12.2021
  6. * @author smiley <smiley@chillerlan.net>
  7. * @copyright 2021 smiley
  8. * @license MIT
  9. */
  10. namespace chillerlan\QRCodeTest\Output;
  11. use chillerlan\QRCode\Output\QRStringJSON;
  12. use function extension_loaded;
  13. /**
  14. *
  15. */
  16. final class QRStringJSONTest extends QROutputTestAbstract{
  17. protected string $FQN = QRStringJSON::class;
  18. /**
  19. * @inheritDoc
  20. */
  21. protected function setUp():void{
  22. // just in case someone's running this on some weird distro that's been compiled without ext-json
  23. if(!extension_loaded('json')){
  24. $this::markTestSkipped('ext-json not loaded');
  25. }
  26. parent::setUp();
  27. }
  28. public static function moduleValueProvider():array{
  29. return [];
  30. }
  31. public function testSetModuleValues():void{
  32. /** @noinspection PhpUnitTestFailedLineInspection */
  33. $this::markTestSkipped('N/A (JSON test)');
  34. }
  35. }