Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Feb 9, 2024
1 parent b1040d4 commit df4401f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Tests/Dumper/CliDumperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
namespace Symfony\Component\VarDumper\Tests\Dumper;

use PHPUnit\Framework\TestCase;
use Symfony\Component\ErrorHandler\ErrorRenderer\FileLinkFormatter;
use Symfony\Component\VarDumper\Caster\ClassStub;
use Symfony\Component\VarDumper\Caster\CutStub;
use Symfony\Component\VarDumper\Cloner\Data;
Expand Down Expand Up @@ -503,6 +504,10 @@ public function testCollapse()

public function testFileLinkFormat()
{
if (!class_exists(FileLinkFormatter::class)) {
$this->markTestSkipped(sprintf('Class "%s" is required to run this test.', FileLinkFormatter::class));
}

$data = new Data([
[
new ClassStub(self::class),
Expand Down

0 comments on commit df4401f

Please sign in to comment.