=== Auto-Schedule Creation Test for Focused Users === Cleaning up test data... Creating test users... Created focused user (interface=1): ID 18 Created standard user (interface=2): ID 19 Test 1: Create study for focused user ---------------------------------------- ✓ Study created: ID 12 ✓ Schedule auto-created: ID 9 - Status: 1 (1=active, 0=inactive) - Schedule pattern: @daily - Upcoming: 2026-01-28 05:00:00 ✓ Schedule is ACTIVE ✓ Upcoming timestamp is set Test 2: Create study for standard user ---------------------------------------- ✓ Study created: ID 13 ✓ NO schedule created (correct for standard user) Test 3: Create topical study for focused user ----------------------------------------------- ✓ Study created: ID 14 ✓ Schedule auto-created: ID 10 - Status: 1 (1=active, 0=inactive) - Type: topical ✓ Schedule is ACTIVE Cleaning up test data... === Test Complete ===