@@ -345,10 +345,10 @@ public function testHandleUpdateBuildsWhereClauseWhenNoneGiven(): void
345345 $ databaseConnection ->expects (self ::once ())
346346 ->method ('fullQuoteStr ' )
347347 ->with ('123 ' )
348- ->willReturn ('\' quoted123 \'' );
348+ ->willReturn (" ' quoted123' " );
349349 $ databaseConnection ->expects (self ::once ())
350350 ->method ('doUpdate ' )
351- ->with ('unknown ' , ' 1=1 AND `unknown`.`uid`= \ 'quoted123 \'' );
351+ ->with ('unknown ' , " 1=1 AND `unknown`.`uid`='quoted123' " );
352352
353353 $ repository ->expects (self ::once ())
354354 ->method ('getDatabaseUtility ' )
@@ -384,12 +384,12 @@ public function testHandleUpdateEliminatesNonTcaColumns(): void
384384 $ databaseConnection ->expects (self ::once ())
385385 ->method ('fullQuoteStr ' )
386386 ->with ('123 ' )
387- ->willReturn ('\' quoted123 \'' );
387+ ->willReturn (" ' quoted123' " );
388388 $ databaseConnection ->expects (self ::once ())
389389 ->method ('doUpdate ' )
390390 ->with (
391391 'unknown ' ,
392- ' 1=1 AND `unknown`.`uid`= \ 'quoted123 \'' ,
392+ " 1=1 AND `unknown`.`uid`='quoted123' " ,
393393 ['column_1 ' => 'new value ' ]
394394 );
395395
@@ -427,10 +427,10 @@ public function testHandleUpdateCallsSecureFromCrossSiteScripting(): void
427427 $ databaseConnection ->expects (self ::once ())
428428 ->method ('fullQuoteStr ' )
429429 ->with ('123 ' )
430- ->willReturn ('\' quoted123 \'' );
430+ ->willReturn (" ' quoted123' " );
431431 $ databaseConnection ->expects (self ::once ())
432432 ->method ('doUpdate ' )
433- ->with ('unknown ' , ' 1=1 AND `unknown`.`uid`= \ 'quoted123 \'' , ['secured ' ]);
433+ ->with ('unknown ' , " 1=1 AND `unknown`.`uid`='quoted123' " , ['secured ' ]);
434434
435435 $ repository ->expects (self ::once ())
436436 ->method ('getDatabaseUtility ' )
@@ -471,12 +471,12 @@ public function testHandleUpdateRemovesUidColumn(): void
471471 $ databaseConnection ->expects (self ::once ())
472472 ->method ('fullQuoteStr ' )
473473 ->with ('123 ' )
474- ->willReturn ('\' quoted123 \'' );
474+ ->willReturn (" ' quoted123' " );
475475 $ databaseConnection ->expects (self ::once ())
476476 ->method ('doUpdate ' )
477477 ->with (
478478 'unknown ' ,
479- ' 1=1 AND `unknown`.`uid`= \ 'quoted123 \'' ,
479+ " 1=1 AND `unknown`.`uid`='quoted123' " ,
480480 ['column_1 ' => 'new value ' ]
481481 );
482482
0 commit comments