Skip to content

Commit

Permalink
Fixed tests and rebase over latest master
Browse files Browse the repository at this point in the history
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
  • Loading branch information
devenbansod committed Sep 13, 2016
1 parent e0d6142 commit 79d91a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Builder/ReplaceStatementTest.php
Expand Up @@ -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()
);
}
Expand All @@ -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()
);
}
Expand All @@ -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()
);
}
Expand Down

0 comments on commit 79d91a0

Please sign in to comment.