Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 38fd9d9

Browse files
committed
[DoctrineBridge] fixed failing test
1 parent 4f7c6f4 commit 38fd9d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bridge/Doctrine/Tests/Logger/DbalLoggerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function testLogLongString()
8787
$dbalLogger
8888
->expects($this->once())
8989
->method('log')
90-
->with('SQL', array('short' => $shortString, 'long' => substr($longString, DbalLogger::MAX_STRING_LENGTH - 6).' [...]'))
90+
->with('SQL', array('short' => $shortString, 'long' => substr($longString, 0, DbalLogger::MAX_STRING_LENGTH - 6).' [...]'))
9191
;
9292

9393
$dbalLogger->startQuery('SQL', array(

0 commit comments

Comments
 (0)