merged branch stof/fix_tests (PR #5184)

Commits
-------

85187ec [DoctrineBridge] Fixed the testsuite

Discussion
----------

[DoctrineBridge] Fixed the testsuite

In the master branch, the handling of non-utf8 values is done by Monolog as the data are passed through the context.

---------------------------------------------------------------------------

by travisbot at 2012-08-05T12:52:26Z

This pull request [passes](http://travis-ci.org/symfony/symfony/builds/2040281) (merged 85187ec2 into 20d2e5a1).
This commit is contained in:
Fabien Potencier 2012-08-06 09:40:25 +02:00
commit 98ea12631c
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ class DbalLoggerTest extends \PHPUnit_Framework_TestCase
$dbalLogger
->expects($this->once())
->method('log')
->with('SQL ({"utf8":"foo","nonutf8":null})')
->with('SQL', array('utf8' => 'foo', 'nonutf8' => "\x7F\xFF"))
;
$dbalLogger->startQuery('SQL', array(