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:
parent
0a09eaf609
commit
1917b703c6
|
@ -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;
|
||||
|
|
Reference in New Issue