You are here

function CoderReviewSQLTest::testSQLBracketNode in Coder 7

Same name and namespace in other branches
  1. 7.2 coder_review/tests/coder_review_sql.test \CoderReviewSQLTest::testSQLBracketNode()

File

coder_review/tests/coder_review_sql.test, line 33

Class

CoderReviewSQLTest

Code

function testSQLBracketNode() {
  $this
    ->assertCoderReviewFail('  $sql = "INSERT INTO node (changed) VALUES (1)";');
  $this
    ->assertCoderReviewPass('  $sql = "INSERT INTO {node} (changed) VALUES (1)";');
}