mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed wallUpdateCheck.
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user