Skip to content

Commit

Permalink
🚿
Browse files Browse the repository at this point in the history
  • Loading branch information
codemasher committed May 1, 2024
1 parent e3335a6 commit acd38f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Output/QROutputTestAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
use chillerlan\Settings\SettingsContainerInterface;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
use ReflectionClass;
use ReflectionObject;

/**
* Test abstract for the several (built-in) output modules,
Expand Down Expand Up @@ -81,7 +81,7 @@ public function testRenderToCacheFile():void{
$this->options->outputBase64 = false;
$this->outputInterface = $this->getOutputInterface($this->options, $this->matrix);
// create the cache file
$name = (new ReflectionClass($this->outputInterface))->getShortName();
$name = (new ReflectionObject($this->outputInterface))->getShortName();
$fileSubPath = $this::buildDir.'/test.output.'.$name;
$data = $this->outputInterface->dump($this->getBuildPath($fileSubPath));

Expand Down

0 comments on commit acd38f5

Please sign in to comment.