bug fixed wallUpdateCheck.

This commit is contained in:
wenshao
2017-12-14 17:03:13 +08:00
parent 5170a3b944
commit 9c5353ea98
2 changed files with 4 additions and 2 deletions
@@ -46,7 +46,7 @@ public class WallUpdateCheckTest extends TestCase {
});
{
WallCheckResult result = wallProvider.check("update t_orders set status = 3 where id = 3 and status = 4");
assertTrue(result.getViolations().size() > 0);
assertTrue(result.getViolations().size() == 0);
}
assertEquals(0, wallProvider.getWhiteListHitCount());
assertEquals(0, wallProvider.getBlackListHitCount());