function CoderSQLTest::testSQLNotEquals in Coder 6.2
File
- tests/
coder_sql.test, line 51
Class
Code
function testSQLNotEquals() {
$this
->assertCoderFail(' $sql = "SELECT * FROM {node} WHERE nid != 10";');
$this
->assertCoderPass(' $sql = "SELECT * FROM {node} WHERE nid = 10";');
$this
->assertCoderPass(' $sql = "SELECT * FROM {node} WHERE nid <> 10";');
}