Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ruff committed Sep 21, 2023
1 parent 4d80ba8 commit c6457d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testcases/VisualizerText.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function testConstructionNoRenderer(): void
{
$visualizer = new ZugferdVisualizer(static::$document);

$this->assertNotNull($this->getPrivatePropertyFromObject($visualizer, 'document')->getValue($visualizer));
$this->assertNotNull($this->getPrivatePropertyFromObject($visualizer, 'documentReader')->getValue($visualizer));
$this->assertNull($this->getPrivatePropertyFromObject($visualizer, 'renderer')->getValue($visualizer));
$this->assertEmpty($this->getPrivatePropertyFromObject($visualizer, 'template')->getValue($visualizer));
$this->assertEmpty($this->getPrivatePropertyFromObject($visualizer, 'pdfFontDirectories')->getValue($visualizer));
Expand All @@ -44,7 +44,7 @@ public function testConstructionGivenRenderer(): void
{
$visualizer = new ZugferdVisualizer(static::$document, new ZugferdVisualizerDefaultRenderer());

$this->assertNotNull($this->getPrivatePropertyFromObject($visualizer, 'document')->getValue($visualizer));
$this->assertNotNull($this->getPrivatePropertyFromObject($visualizer, 'documentReader')->getValue($visualizer));
$this->assertNotNull($this->getPrivatePropertyFromObject($visualizer, 'renderer')->getValue($visualizer));
$this->assertInstanceOf(ZugferdVisualizerDefaultRenderer::class, $this->getPrivatePropertyFromObject($visualizer, 'renderer')->getValue($visualizer));
$this->assertEmpty($this->getPrivatePropertyFromObject($visualizer, 'template')->getValue($visualizer));
Expand Down

0 comments on commit c6457d1

Please sign in to comment.