From 333fb6f3dfeb0d73721602103179992962d152ad Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Wed, 24 Dec 2014 11:36:03 +0100 Subject: [PATCH] [VarDumper] fix tests under 5.3 --- src/Symfony/Component/VarDumper/Tests/Caster/PdoCasterTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/VarDumper/Tests/Caster/PdoCasterTest.php b/src/Symfony/Component/VarDumper/Tests/Caster/PdoCasterTest.php index 5125e17d9d..eaed9dbb16 100644 --- a/src/Symfony/Component/VarDumper/Tests/Caster/PdoCasterTest.php +++ b/src/Symfony/Component/VarDumper/Tests/Caster/PdoCasterTest.php @@ -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'],