Skip to content

Execute tests on coldbox modules #11

Execute tests on coldbox modules

Execute tests on coldbox modules #11

GitHub Actions / cbantisamy-published-unit-tests succeeded Feb 4, 2025 in 0s

8 passed, 0 failed and 0 skipped

Tests passed successfully

✔️ cbantisamy-tests/test-results-boxlang@1-be/test-results-junit.xml

8 tests were completed in 4s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.specs.interceptor.AutoCleanTest 1✔️ 4s
tests.specs.unit.AntiSamyTest 7✔️ 238ms

✔️ tests.specs.interceptor.AutoCleanTest

✔️ AntiSamy Module should clean XSS junk from request collection

✔️ tests.specs.unit.AntiSamyTest

✔️ AntiSamy Module tests model isstantiation
✔️ AntiSamy Module HTMLSantizer method should remove attack scripts from a string
✔️ AntiSamy Module HTMLSanitizer should not clean safe HTML Tags
✔️ AntiSamy Module HTMLSantizer should return a boolean as to whether the HTML is safe when the check argument is passed
✔️ AntiSamy Module Will throw an error if an invalid policy file is specified
✔️ AntiSamy Module clean method will always return a string
✔️ AntiSamy Module check method will always return a boolean