summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/coder_security.test3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/coder_security.test b/tests/coder_security.test
index 11a3764..fa5e793 100644
--- a/tests/coder_security.test
+++ b/tests/coder_security.test
@@ -34,8 +34,7 @@ class CoderSecurityTest extends CoderTestCase {
$this->assertCoderFail(' $results = db_query("SELECT * FROM {foo} WHERE name=$name");');
$this->assertCoderFail(' db_query("INSERT INTO {foo} SET name=\'$name\'");');
$this->assertCoderFail(' $sql = "INSERT INTO {foo} SET name=\'$name\'";');
- // @NOTE: this rule passes if run from the .install file, but we can't test for that.
-// $this->assertCoderPass(' update_sql("INSERT INTO {foo} SET name=\'$name\'");');
+ $this->assertCoderPass(' update_sql("INSERT INTO {foo} SET name=\'$name\'");');
$this->assertCoderPass(' db_result(db_query("SELECT filename FROM {system} WHERE name = \'%s\'", "ad_$detail->adtype"));');
}