fix DumpDataCollectorTest after CS changes

Modify the expected line value which was affected by the move of the
`__LINE__` constant in #12872 to make tests pass again.
This commit is contained in:
Christian Flothmann 2014-12-08 18:00:45 +01:00
parent 0a09eaf609
commit 1917b703c6
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ class DumpDataCollectorTest extends \PHPUnit_Framework_TestCase
$this->assertSame('dump', $collector->getName());
$collector->dump($data);
$line = __LINE__;
$line = __LINE__ - 1;
$this->assertSame(1, $collector->getDumpsCount());
$dump = $collector->getDumps('html');
@ -63,7 +63,7 @@ class DumpDataCollectorTest extends \PHPUnit_Framework_TestCase
$data = new Data(array(array(456)));
$collector = new DumpDataCollector();
$collector->dump($data);
$line = __LINE__;
$line = __LINE__ - 1;
ob_start();
$collector = null;