From 79d91a069571f24933cfa64689971e1c495a3968 Mon Sep 17 00:00:00 2001 From: Deven Bansod Date: Tue, 13 Sep 2016 15:34:40 +0530 Subject: [PATCH] Fixed tests and rebase over latest master Signed-off-by: Deven Bansod --- tests/Builder/ReplaceStatementTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Builder/ReplaceStatementTest.php b/tests/Builder/ReplaceStatementTest.php index b8f10209d..f25a58a1f 100644 --- a/tests/Builder/ReplaceStatementTest.php +++ b/tests/Builder/ReplaceStatementTest.php @@ -16,7 +16,7 @@ public function testBuilder() ); $stmt = $parser->statements[0]; $this->assertEquals( - 'REPLACE INTO tbl(col1, col2, col3) VALUES (1, "str", 3.14)', + 'REPLACE INTO tbl(`col1`, `col2`, `col3`) VALUES (1, "str", 3.14)', $stmt->build() ); } @@ -28,7 +28,7 @@ public function testBuilderSet() ); $stmt = $parser->statements[0]; $this->assertEquals( - 'REPLACE INTO tbl(col1, col2, col3) SET col1 = 1, col2 = "str", col3 = 3.14', + 'REPLACE INTO tbl(`col1`, `col2`, `col3`) SET col1 = 1, col2 = "str", col3 = 3.14', $stmt->build() ); } @@ -40,7 +40,7 @@ public function testBuilderSelect() ); $stmt = $parser->statements[0]; $this->assertEquals( - 'REPLACE INTO tbl(col1, col2, col3) SELECT col1, col2, col3 FROM tbl2 ', + 'REPLACE INTO tbl(`col1`, `col2`, `col3`) SELECT col1, col2, col3 FROM tbl2 ', $stmt->build() ); }