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:
parent
84f2bf7204
commit
342ab2f7f1
@ -85,6 +85,6 @@ class RunDqlCommandTest extends OrmFunctionalTestCase
|
||||
))
|
||||
);
|
||||
|
||||
$this->assertStringMatchesFormat('string%sSELECT %a', $this->tester->getDisplay());
|
||||
$this->assertStringMatchesFormat('%Astring%sSELECT %a', $this->tester->getDisplay());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user