1
0
mirror of synced 2025-02-02 13:31:45 +03:00

Correcting minor test case incompatibility with XDebug 2.4.x

In PHP 5.x + XDebug < 2.4, the output would be "string:..."
In PHP 7.x + XDebug >= 2.4, the output would be "the/file/name.php:11:string:..."

This is an improvement in XDebug that is quite annoying for our purposes, but is actually welcome to most users anyway.

This commit simply fixes that incompatibility
This commit is contained in:
Marco Pivetta 2015-12-11 19:15:48 +01:00
parent 2983081a60
commit 6e3ce26429

View File

@ -85,6 +85,6 @@ class RunDqlCommandTest extends OrmFunctionalTestCase
))
);
$this->assertStringMatchesFormat('string%sSELECT %a', $this->tester->getDisplay());
$this->assertStringMatchesFormat('%Astring%sSELECT %a', $this->tester->getDisplay());
}
}