function CoderReviewSQLTest::testSQLNotEquals in Coder 7
Same name and namespace in other branches
- 7.2 coder_review/tests/coder_review_sql.test \CoderReviewSQLTest::testSQLNotEquals()
File
- coder_review/
tests/ coder_review_sql.test, line 54
Class
Code
function testSQLNotEquals() {
$this
->assertCoderReviewFail(' $sql = "SELECT * FROM {node} WHERE nid != 10";');
$this
->assertCoderReviewPass(' $sql = "SELECT * FROM {node} WHERE nid = 10";');
$this
->assertCoderReviewPass(' $sql = "SELECT * FROM {node} WHERE nid <> 10";');
}