function CoderReviewSQLTest::testSQLBracketNode in Coder 7
Same name and namespace in other branches
- 7.2 coder_review/tests/coder_review_sql.test \CoderReviewSQLTest::testSQLBracketNode()
File
- coder_review/
tests/ coder_review_sql.test, line 33
Class
Code
function testSQLBracketNode() {
$this
->assertCoderReviewFail(' $sql = "INSERT INTO node (changed) VALUES (1)";');
$this
->assertCoderReviewPass(' $sql = "INSERT INTO {node} (changed) VALUES (1)";');
}