diff options
author | Zach Ploskey <zach@ploskey.com> | 2017-10-11 17:24:06 +0200 |
---|---|---|
committer | Zach Ploskey <zach@ploskey.com> | 2017-10-11 18:48:32 +0200 |
commit | 43d3a2c2cab6405dde6e68662659574bea0e6432 (patch) | |
tree | 3df537f6be83ecec47f02981aee0a6c9b3cec0c6 /system/libraries/Form_validation.php | |
parent | 8094d1f26339a38c2b2ca6eb9746fa429986b085 (diff) |
Clean up form validation tests
Remove a number unnecessary calls to reset_validation(). A new
form_validation object is already initialized for every test in
set_up(), so these lines do nothing unless multiple validations
are done in the same test.
Explicitly empty the $_POST array after each test that modifies it.
Signed-off-by: Zach Ploskey <zach@ploskey.com>
Diffstat (limited to 'system/libraries/Form_validation.php')
0 files changed, 0 insertions, 0 deletions