minor #13097 [VarDumper] fix tests under 5.3 (nicolas-grekas)

This PR was merged into the 2.6 branch.

Discussion
----------

[VarDumper] fix tests under 5.3

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Commits
-------

333fb6f [VarDumper] fix tests under 5.3
This commit is contained in:
Nicolas Grekas 2014-12-24 11:49:46 +01:00
commit 0d9fcc8e6f

View File

@ -36,7 +36,7 @@ class PdoCasterTest extends \PHPUnit_Framework_TestCase
$this->assertSame('BOTH', $attr['DEFAULT_FETCH_MODE']->class);
$xCast = array(
"\0~\0inTransaction" => false,
"\0~\0inTransaction" => $pdo->inTransaction(),
"\0~\0attributes" => array(
'CASE' => $attr['CASE'],
'ERRMODE' => $attr['ERRMODE'],