You are here

function CoderSQLTest::testSQLBracketNode in Coder 6.2

Same name and namespace in other branches
  1. 6 tests/coder_sql.test \CoderSQLTest::testSQLBracketNode()

File

tests/coder_sql.test, line 34

Class

CoderSQLTest

Code

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