Skip to content

Commit

Permalink
minor #23458 [HttpKernel] fix DumpDataCollector tests (xabbuh)
Browse files Browse the repository at this point in the history
This PR was merged into the 3.2 branch.

Discussion
----------

[HttpKernel] fix DumpDataCollector tests

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

to reflect the changes from #23413

Commits
-------

5dbee5b [HttpKernel] fix DumpDataCollector tests
  • Loading branch information
nicolas-grekas committed Jul 10, 2017
2 parents b033e79 + 5dbee5b commit 195d949
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -50,7 +50,7 @@ public function testDump()
);
$this->assertEquals($xDump, $dump);

$this->assertStringMatchesFormat('a:3:{i:0;a:5:{s:4:"data";O:39:"Symfony\Component\VarDumper\Cloner\Data":%a', $collector->serialize());
$this->assertStringMatchesFormat('a:3:{i:0;a:5:{s:4:"data";%c:39:"Symfony\Component\VarDumper\Cloner\Data":%a', $collector->serialize());
$this->assertSame(0, $collector->getDumpsCount());
$this->assertSame('a:2:{i:0;b:0;i:1;s:5:"UTF-8";}', $collector->serialize());
}
Expand Down

0 comments on commit 195d949

Please sign in to comment.