[VarDumper] Skip some tests on custom xdebug.file_link_format

This commit is contained in:
Maxime Steinhausser 2018-04-03 17:11:58 +02:00 committed by Maxime Steinhausser
parent 10ba44cfbf
commit f9216edad8
2 changed files with 8 additions and 0 deletions

View File

@ -126,6 +126,10 @@ EODUMP;
public function testHtmlDump()
{
if (ini_get('xdebug.file_link_format') || get_cfg_var('xdebug.file_link_format')) {
$this->markTestSkipped('A custom file_link_format is defined.');
}
$e = $this->getTestException(1);
ExceptionCaster::$srcContext = -1;

View File

@ -22,6 +22,10 @@ class HtmlDumperTest extends TestCase
{
public function testGet()
{
if (ini_get('xdebug.file_link_format') || get_cfg_var('xdebug.file_link_format')) {
$this->markTestSkipped('A custom file_link_format is defined.');
}
require __DIR__.'/../Fixtures/dumb-var.php';
$dumper = new HtmlDumper('php://output');