mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-09-21 02:07:23 -04:00
Add PHPUnit tests for Jobs feature to lock in current behavior before further changes. - JobsControllerTest: covers /jobs index render, saveSettings validation (invalid mode, non-natural max_seconds) and success path, saveThrottles save/soft-delete-missing/invalid period handling, throttles partial render, and stub processAllJobs/processSelectedJobs endpoints - JobThrottleModelTest: covers exists(), saveValue() insert vs update, getAll() excluding soft-deleted rows, and delete() soft-delete behavior Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>