From 06fdf730431a16ddd9022335dcb85471c0e95eca Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Mon, 5 Oct 2015 17:30:37 +0200 Subject: [PATCH] [VarDumper] Add missing getDump in abstract VarDumperTestCase --- src/Symfony/Component/VarDumper/Test/VarDumperTestCase.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Symfony/Component/VarDumper/Test/VarDumperTestCase.php b/src/Symfony/Component/VarDumper/Test/VarDumperTestCase.php index 006c1dc7a8..3c8593a8c3 100644 --- a/src/Symfony/Component/VarDumper/Test/VarDumperTestCase.php +++ b/src/Symfony/Component/VarDumper/Test/VarDumperTestCase.php @@ -21,15 +21,15 @@ abstract class VarDumperTestCase extends \PHPUnit_Framework_TestCase { public function assertDumpEquals($dump, $data, $message = '') { - $this->assertSame(rtrim($dump), $this->getVarDumperDump($data), $message); + $this->assertSame(rtrim($dump), $this->getDump($data), $message); } public function assertDumpMatchesFormat($dump, $data, $message = '') { - $this->assertStringMatchesFormat(rtrim($dump), $this->getVarDumperDump($data), $message); + $this->assertStringMatchesFormat(rtrim($dump), $this->getDump($data), $message); } - private function getVarDumperDump($data) + private function getDump($data) { $h = fopen('php://memory', 'r+b'); $cloner = new VarCloner();