Commit 8466db5
committed
Refactor unit tests for abuse detection functionality
- Updated `test_abuseDetection_additional.sh` and `test_abuseDetection.sh` to improve mocking of functions related to IP abuse detection, ensuring accurate simulation of various scenarios.
- Changed function names for clarity and consistency, aligning with the actual functionality being tested.
- Ensured all modifications include the current date for "Last Updated" and versioning.1 parent b8768b2 commit 8466db5
File tree
2 files changed
+232
-55
lines changed- tests/unit/security
2 files changed
+232
-55
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
613 | 613 | | |
614 | 614 | | |
615 | 615 | | |
616 | | - | |
| 616 | + | |
617 | 617 | | |
618 | 618 | | |
619 | | - | |
| 619 | + | |
620 | 620 | | |
621 | 621 | | |
622 | 622 | | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
623 | 636 | | |
624 | 637 | | |
625 | 638 | | |
626 | | - | |
| 639 | + | |
627 | 640 | | |
628 | 641 | | |
629 | 642 | | |
| |||
0 commit comments