Files
zoneminder/tests/php
Isaac ConnorandClaude Opus 4.8 511e818fff test: define canView on the ZM\Event stub in test_video_delete_replay (#8303)
views/video.php builds a ZM\Event and calls canView() on it (refs #5189),
but the test's stub Event class had no canView() method, so the delete-replay
test threw "Call to undefined method ZM\Event::canView()" and the CI PHP Tests
job failed on master once both changes were present. Add a canView() stub
returning true so the test exercises the delete-replay logic as intended.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-11-25 18:00:35 -05:00
..