diff --git a/tests/Database/DatabaseQueryBuilderTest.php b/tests/Database/DatabaseQueryBuilderTest.php index 556e0f87711c..37e774cb6549 100755 --- a/tests/Database/DatabaseQueryBuilderTest.php +++ b/tests/Database/DatabaseQueryBuilderTest.php @@ -2254,21 +2254,21 @@ public function testMySqlWrappingJsonWithBooleanAndIntegerThatLooksLikeOne() public function testJsonPathEscaping() { - $expectedJsonEscape = <<getMySqlBuilder(); $builder->select("json->'))#"); - $this->assertEquals($expectedJsonEscape, $builder->toSql()); + $this->assertEquals($expectedWithJsonEscaped, $builder->toSql()); $builder = $this->getMySqlBuilder(); $builder->select("json->\'))#"); - $this->assertEquals($expectedJsonEscape, $builder->toSql()); + $this->assertEquals($expectedWithJsonEscaped, $builder->toSql()); $builder = $this->getMySqlBuilder(); $builder->select("json->\\\'))#"); - $this->assertEquals($expectedJsonEscape, $builder->toSql()); + $this->assertEquals($expectedWithJsonEscaped, $builder->toSql()); } public function testMySqlWrappingJson()