Initial import of space_profiles module

This commit is contained in:
Kelin Rescue Hub
2026-04-04 13:11:50 -04:00
commit 87a59e5a0a
35 changed files with 1627 additions and 0 deletions

19
tests/README.md Normal file
View File

@@ -0,0 +1,19 @@
# Space Profiles Test Notes
This module includes a unit suite scaffold under `tests/codeception/unit`.
Current unit coverage targets:
- HTML sanitization hardening regressions
- Public/profile access helper behavior
- Form-level validation behavior for core profile fields
## Run
In a HumHub development environment with Codeception installed:
```bash
cd protected
php vendor/bin/codecept run -c modules/space_profiles/tests/codeception.yml unit
```
If `vendor/bin/codecept` is not present, install dev dependencies for the HumHub environment first.