The test was inserting a "Team Script" with team_id=NULL (since the test user has no team), then expecting shared=true to return it. SQL NULL=NULL is falsy, so the query correctly returned nothing. Fix: create a team, assign it to the user, then test the filter. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
25 KiB
25 KiB